HISE Logo Forum
    • Categories
    • Register
    • Login

    No Exporting the IR

    Scheduled Pinned Locked Moved General Questions
    17 Posts 4 Posters 1.6k 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.
    • JayJ
      Jay @d.healey
      last edited by

      @d-healey Yes I did. I always checked even if I don't use files

      Joansi Villalona

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        Are you using the development branch or the master branch? There's a new pool system in the development branch that sometimes leads to missing files when they are not updated manually.

        JayJ 1 Reply Last reply Reply Quote 0
        • JayJ
          Jay @Christoph Hart
          last edited by

          @christoph-hart master branch

          Joansi Villalona

          1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey
            last edited by d.healey

            I've just built my first FX plugin with HISE using the convo reverb. When I open the VST in Reaper and try to load an IR from a dropdown menu on my UI it says the IR file was not embedded correctly. I checked the box in preferences to embed audio files, what did I miss?
            0_1538007477189_Screenshot from 2018-09-27 01-17-30.png

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @d.healey
              last edited by

              @d-healey Bump bump

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart
                last edited by

                I just checked the ConvolutionReverb example here:

                Link Preview Image
                hise_tutorial/ConvolutionReverb at master · christophhart/hise_tutorial

                The Tutorial project for HISE. Contribute to christophhart/hise_tutorial development by creating an account on GitHub.

                favicon

                GitHub (github.com)

                The embedding works correctly (you need to copy an impulse to the AudioFIles directory and load it before exporting).

                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @Christoph Hart
                  last edited by

                  @christoph-hart I have mine in sub-directories inside the AudioFiles folder, could that be the problem? I'll test out the example project and see what results I get.

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey
                    last edited by d.healey

                    Ok I've found the cause of the problem with this I think. If I load the IR file into the convo reverb then export, that file will be extracted correctly and will show up in the plugin. But I have a number of IRs I want to be able to load by selecting them from a combo box, these ones don't get extracted.

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

                    1 Reply Last reply Reply Quote 0
                    • Christoph HartC
                      Christoph Hart
                      last edited by Christoph Hart

                      Ah I think I understand. The reason for this is that HISE only exports referenced files. There is a function somewhere that automatically loads all audio files once (or something like that). I‘ll take a look how this works.

                      d.healeyD 1 Reply Last reply Reply Quote 1
                      • d.healeyD
                        d.healey @Christoph Hart
                        last edited by

                        @christoph-hart Any progress with this?

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        1 Reply Last reply Reply Quote 0
                        • Christoph HartC
                          Christoph Hart
                          last edited by

                          Not yet, but a workaround is to load every audio file once before you export the project to make sure it's pooled (you can do this in the onInit callback).

                          d.healeyD 1 Reply Last reply Reply Quote 1
                          • d.healeyD
                            d.healey @Christoph Hart
                            last edited by d.healey

                            @christoph-hart I added a loop to load every IR. When I compile the plugin and open in Reaper I no longer get the popup about IRs not being embedded, but they won't load into the convo reverb using the the setFile command.

                            Here's the repo if you have time to take a look - https://github.com/davidhealey/sordina

                            Libre Wave - Freedom respecting instruments and effects
                            My Patreon - HISE tutorials
                            YouTube Channel - Public HISE tutorials

                            1 Reply Last reply Reply Quote 0
                            • Christoph HartC
                              Christoph Hart
                              last edited by

                              I've added a scripting function called Engine.loadAllAudioFilesIntoPool(), which takes care of the initial loading for audio files (for the compiled plugin it doesn't do anything, so there's no overhead).

                              Just call it whenever you need a dynamic amount of embedded audio files.

                              d.healeyD LindonL 2 Replies Last reply Reply Quote 2
                              • d.healeyD
                                d.healey @Christoph Hart
                                last edited by

                                @christoph-hart Excellent, I'll give this a go later today.

                                Libre Wave - Freedom respecting instruments and effects
                                My Patreon - HISE tutorials
                                YouTube Channel - Public HISE tutorials

                                1 Reply Last reply Reply Quote 0
                                • LindonL
                                  Lindon @Christoph Hart
                                  last edited by

                                  @Christoph-Hart said in No Exporting the IR:

                                  Engine.loadAllAudioFilesIntoPool()

                                  note - if you're looking for this, this is now called:

                                  Engine.loadAudioFilesIntoPool()

                                  HISE Development for hire.
                                  www.channelrobot.com

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

                                  46

                                  Online

                                  1.7k

                                  Users

                                  11.7k

                                  Topics

                                  101.8k

                                  Posts