Forum
    • Categories
    • Register
    • Login

    audio files not embed (Engine.loadAudioFilesIntoPool) added

    Scheduled Pinned Locked Moved General Questions
    24 Posts 2 Posters 190 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      Yannrog
      last edited by

      Hi,

      I have audiofiles in projects/AudioFiles, I added Engine.loadAudioFilesIntoPool
      Emebed audio is checked.

      I have change config and did a step from 4.1 to latest version. Is this related with path ? how to add audio files to project ?

      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @Yannrog
        last edited by

        @Yannrog The version number doesn't really have any meaning because it doesn't change between commits - although apparently it did change recently 😋 . The git commit hash is more useful.

        This issue is not related to the HISE path.

        How many mb of audio files does your project have?

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        Y 1 Reply Last reply Reply Quote 0
        • Y
          Yannrog @David Healey
          last edited by

          @David-Healey about 20 mb

          David HealeyD 1 Reply Last reply Reply Quote 0
          • David HealeyD
            David Healey @Yannrog
            last edited by

            @Yannrog What makes you think the files are not embedded?

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            Y 1 Reply Last reply Reply Quote 0
            • Y
              Yannrog @David Healey
              last edited by

              @David-Healey In the final project, when I open it in daw convolution reverb doesn't respond

              David HealeyD 1 Reply Last reply Reply Quote 0
              • David HealeyD
                David Healey @Yannrog
                last edited by

                @Yannrog How are you loading the IRs into the reverb?

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                Y 1 Reply Last reply Reply Quote 0
                • Y
                  Yannrog @David Healey
                  last edited by

                  @David-Healey I made right click and select the wav file

                  David HealeyD 1 Reply Last reply Reply Quote 0
                  • David HealeyD
                    David Healey @Yannrog
                    last edited by

                    @Yannrog If I remember correctly in the compiled project it needs to be loaded through scripting.

                    Free HISE Bootcamp Full Course for beginners.
                    YouTube Channel - Public HISE tutorials
                    My Patreon - HISE tutorials

                    Y 1 Reply Last reply Reply Quote 0
                    • Y
                      Yannrog @David Healey
                      last edited by

                      @David-Healey How do I have to do this?

                      Engine.loadAudioFilesIntoPool(); is good?

                      David HealeyD 1 Reply Last reply Reply Quote 0
                      • David HealeyD
                        David Healey @Yannrog
                        last edited by

                        @Yannrog That loads the files into HISE to make them available, it doesn't load them into the reverb.

                        You need to get a reference to the effect Synth.getAudioSampleProcessor() and then you need to use .setFile to load in the impulse.

                        https://docs.hise.audio/scripting/scripting-api/audiosampleprocessor/index.html#setfile

                        Another method is to have a hidden waveform control on your UI connected to the convolution. Make sure it's set to saveInPreset and load your impulse through that control. Then the IR should be saved with the preset.

                        Free HISE Bootcamp Full Course for beginners.
                        YouTube Channel - Public HISE tutorials
                        My Patreon - HISE tutorials

                        Y 1 Reply Last reply Reply Quote 0
                        • Y
                          Yannrog @David Healey
                          last edited by

                          @David-Healey

                          Is that good?

                          const var audiofiles = Engine.loadAudioFilesIntoPool();
                          const var reverbfile1 = Synth.getAudioSampleProcessor("//reverbname");

                          const var reverbfile2 = Synth.getAudioSampleProcessor("//reverbname");

                          David HealeyD 1 Reply Last reply Reply Quote 0
                          • David HealeyD
                            David Healey @Yannrog
                            last edited by

                            @Yannrog said in audio files not embed (Engine.loadAudioFilesIntoPool) added:

                            Is that good?

                            Does it work?

                            Free HISE Bootcamp Full Course for beginners.
                            YouTube Channel - Public HISE tutorials
                            My Patreon - HISE tutorials

                            Y 2 Replies Last reply Reply Quote 0
                            • Y
                              Yannrog @David Healey
                              last edited by

                              @David-Healey it does compile,

                              I didn't test in plugin, I will test it

                              1 Reply Last reply Reply Quote 1
                              • Y
                                Yannrog @David Healey
                                last edited by Yannrog

                                @David-Healey
                                It compiles, but in plugin it does not work. and a script processor doesn't work. 🤔

                                David HealeyD 1 Reply Last reply Reply Quote 0
                                • David HealeyD
                                  David Healey @Yannrog
                                  last edited by

                                  @Yannrog said in audio files not embed (Engine.loadAudioFilesIntoPool) added:

                                  and a script processor doesn't work

                                  You need to give more information

                                  Free HISE Bootcamp Full Course for beginners.
                                  YouTube Channel - Public HISE tutorials
                                  My Patreon - HISE tutorials

                                  Y 1 Reply Last reply Reply Quote 0
                                  • Y
                                    Yannrog @David Healey
                                    last edited by Yannrog

                                    @David-Healey I have IR Reverbs working in Hise,

                                    I have code lines for reverbs
                                    const var audiofiles = Engine.loadAudioFilesIntoPool();
                                    const var reverbfile1 = Synth.getAudioSampleProcessor("//reverbname");

                                    const var reverbfile2 = Synth.getAudioSampleProcessor("//reverbname");

                                    Works fine Hise. But doesn't work in plugin

                                    I have too a midi script processor on a sampler working on Hise.
                                    But doesn't work in plugin

                                    David HealeyD 1 Reply Last reply Reply Quote 0
                                    • David HealeyD
                                      David Healey @Yannrog
                                      last edited by

                                      @Yannrog said in audio files not embed (Engine.loadAudioFilesIntoPool) added:

                                      "//reverbname"

                                      Is this a placeholder? Where are you calling .setFile()?

                                      Free HISE Bootcamp Full Course for beginners.
                                      YouTube Channel - Public HISE tutorials
                                      My Patreon - HISE tutorials

                                      Y 1 Reply Last reply Reply Quote 0
                                      • Y
                                        Yannrog @David Healey
                                        last edited by

                                        @David-Healey
                                        I placed in the code lines the name of the reverbs instead of “//reverbname“

                                        I thought it was targeting for the file in the folder. Sorry for the beginner questions.

                                        David HealeyD 1 Reply Last reply Reply Quote 0
                                        • David HealeyD
                                          David Healey @Yannrog
                                          last edited by

                                          @Yannrog getAudioSampleProcessor this is used to get a reference to the effect in the module tree. Once you have that you use .setFile to tell it which IR to use. You need to use the project_folder wildcard too, check the documentation link I posted above.

                                          Free HISE Bootcamp Full Course for beginners.
                                          YouTube Channel - Public HISE tutorials
                                          My Patreon - HISE tutorials

                                          Y 2 Replies Last reply Reply Quote 0
                                          • Y
                                            Yannrog @David Healey
                                            last edited by Yannrog

                                            @David-Healey oh, ok. I'll try thanx

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            10

                                            Online

                                            2.4k

                                            Users

                                            13.7k

                                            Topics

                                            119.4k

                                            Posts