HISE Logo Forum
    • Categories
    • Register
    • Login

    AudioFiles

    Scheduled Pinned Locked Moved General Questions
    7 Posts 4 Posters 55 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.
    • S
      Sampletekk
      last edited by

      I have a number of wav-files in the "AudioFiles" folder in the project. They are used as impulses for a convoluting reverb.
      I also have a number of samples that make up the actual instruments, and they are located in the "Samples" folder.
      Before compiling the instrument into a plugin, I pack the samples to a monolith files, and I assume that this is the files in the "Samples" folder that will get packed into .ch1 files, but where does the files in the "AudioFiles" folder end up? Are they included in the vst3/AU files?

      Oli UllmannO 1 Reply Last reply Reply Quote 0
      • Oli UllmannO
        Oli Ullmann @Sampletekk
        last edited by

        @Sampletekk
        If you have selected “Embed Audio Files” in the project settings, they will be integrated into the plug-in. If not, you will need to copy them to the correct folder using your installer.

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

          Yes you can decide whether to include the convolution files in the plugin binary or whether they should be encoded into a dat file that is loaded by the plugin.

          Solution 1 is the simplest from an installer workflow and is perfectly fine if you have only a few IR impulses. I would estimate the threshold is something like 20-30MB worth of IR samples.
          Solution 2 keeps the file size low (eg. compiling a macOS universal binary will duplicate the payload so you'll end up with the IR samples being encoded twice). But you have to make sure that your installer puts these files at the exact position where HISE expects them to be (in your App data folder).

          Another thing to watch out is to make sure to call this function in your onInit callback to ensure that all IR samples in your AudioFiles folder are pooled and encoded on export.

          ChazroxC S 2 Replies Last reply Reply Quote 0
          • ChazroxC
            Chazrox @Christoph Hart
            last edited by

            @Christoph-Hart

            @Christoph-Hart said in AudioFiles:

            20-30MB worth of IR samples.

            I have 40mb worth and its been exporting and working fine. 👍
            I actually had more before cleaning up.
            Screenshot 2025-10-21 at 9.45.41 AM.png

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

              @Chazrox sure that‘s not a hard limit, at some point the compilers might run out of memory but if it works for you then fine.

              ChazroxC 1 Reply Last reply Reply Quote 0
              • ChazroxC
                Chazrox @Christoph Hart
                last edited by

                @Christoph-Hart noted.

                1 Reply Last reply Reply Quote 0
                • S
                  Sampletekk @Christoph Hart
                  last edited by

                  @Christoph-Hart Thanks!

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

                  17

                  Online

                  2.0k

                  Users

                  12.7k

                  Topics

                  110.4k

                  Posts