Forum

    • Register
    • Login
    • Search
    • Categories

    IR Convolution plugin - sample location and best practices?

    Scripting Forum
    convolution audio files filesystem file samples
    2
    4
    137
    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.
    • A
      andioak last edited by

      Regarding the Convolution plugin and delivering a plugin with convolution reverb .wav files:

      (my HISE version is Scriptnode branch, 2020-11)

      • where should the IR sound files reside? AudioFiles or Samples folder?

      • do I have to deliver the files in a separate folder as a part of a .exe/.pkg installer? Or does it come with the plugin?

      • The Engine.loadAudioFilesIntoPool() function gathers up the audio files to be used in a plugin and is supposed to return a list of references, according to the manual . However, it does not return anything when used.

        • what folder does this function has as it's base? (/Samples or /AudioFiles? Or both? )

       

      • I currently use is the Engine.getSampleFilesFromDirectory(sub_folder, bool), which takes the input of the sub_folder input, but that one works only on the /Samples folder. Can I use another function that does the same for the AudioFiles folder?
      d.healey 1 Reply Last reply Reply Quote 0
      • d.healey
        d.healey @andioak last edited by d.healey

        @andioak said in IR Convolution plugin - sample location and best practices?:

        (my HISE version is Scriptnode branch, 2020-11)

        That branch is ancient. Upgrade to the master or develop branch.

        @andioak said in IR Convolution plugin - sample location and best practices?:

        where should the IR sound files reside? AudioFiles or Samples folder?

        AudioFiles - https://docs.hise.audio/working-with-hise/project-management/index.html

        @andioak said in IR Convolution plugin - sample location and best practices?:

        what folder does this function has as it's base? (/Samples or /AudioFiles? Or both? )

        AudioFiles

        @andioak said in IR Convolution plugin - sample location and best practices?:

        Can I use another function that does the same for the AudioFiles folder?

        This is how you load files into the convo reverb, it automatically gets the file from the AudioFiles folder if it's there.

        ConvolutionReverbEffect.setFile("{PROJECT_FOLDER}filename.wav");

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

        A 1 Reply Last reply Reply Quote 1
        • A
          andioak @d.healey last edited by andioak

          @d-healey said:

          That branch is ancient. Upgrade to the master or develop branch.

          That one was just super popular 🙂 What happened? 😕

          @d-healey said:

          This is how you load files into the convo reverb, it automatically gets the file from the AudioFiles folder if it's there.

          So no function to get all files and sub-folders of files then? We really need that one. That one would make it possible for users to copy-paste files that then show up n the plugin. Dynomite. 😉

          Update: Found the filesystem now 🙂 (->) , so using FileSystem.findFiles(var directory, String wildcard, bool recursive) is possible, assuming it will accept /AudioFiles/ sub path.

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

            @andioak said in IR Convolution plugin - sample location and best practices?:

            That one was just super popular What happened?

            Popularity has nothing to do with it. Git is a version control system, branches represent different versions of the source code, the scriptnode branch was a feature branch, once the feature (scriptnode) was stable it was merged back into the develop branch. Once the develop branch gets to a point where it's stable-ish it is merged into the master branch. So the master branch will always be out of date, but should at least build and export successfully. The develop branch is the cutting edge latest changes, unless there is a feature branch that is being actively worked on.

            @andioak said in IR Convolution plugin - sample location and best practices?:

            So no function to get all files and sub-folders of files then? We really need that one. That one would make it possible for users to copy-paste files that then show up n the plugin. Dynomite.

            Yes you can use the file system and file apis (I have several videos about these on Patreon). This is not directly related to loading files into the convo reverb though.

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

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

            14
            Online

            1.1k
            Users

            6.7k
            Topics

            62.1k
            Posts