Forum

    • Register
    • Login
    • Search
    • Categories

    Convolution - IR save in preset... how?

    Scripting Forum
    5
    8
    254
    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.
    • Dan Korneff
      Dan Korneff last edited by

      Hey guys,
      I'm using the convolution effect on a project and need some help with recalling IR settings.
      I've put my IR files in an array and toggle between them using some buttons on the GUI. When I reopen the session (or try to save a preset using Cubase) the plug will restore the settings on my GUI, but not the IR file that was last used. It always defaults to the impulse I have set when I compile the plugin.
      What's are you guys doing to deal with this?

      Dan Korneff - Producer / Mixer / Audio Nerd

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

        @dustbro I seem to recall a similar issue and my solution was to default to no impulse loaded.

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

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

          @d-healey said in Convolution - IR save in preset... how?:

          default to no impulse loaded.

          Maybe I can use a hidden AudioWaveform Panel? That way I can hit the "save in preset" box?

          Dan Korneff - Producer / Mixer / Audio Nerd

          1 Reply Last reply Reply Quote 0
          • Dan Korneff
            Dan Korneff last edited by

            Didn't work 😞

            Dan Korneff - Producer / Mixer / Audio Nerd

            orange 1 Reply Last reply Reply Quote 0
            • orange
              orange @Dan Korneff last edited by orange

              @dustbro

              • In order to do that, you can create a hidden radio button set and assign your IR samples on each button. For assigning IR files to buttons, use this function: convolution.setFile("{PROJECT_FOLDER}IRFile.wav"); 😉

              • Don't forget to use Engine.loadAudioFilesIntoPool(); in the begining of the GUI script.

              develop Branch / XCode 13.1
              macOS Monterey / M1 Max

              Dan Korneff 1 Reply Last reply Reply Quote 2
              • Dan Korneff
                Dan Korneff @orange last edited by

                @orange said in Convolution - IR save in preset... how?:

                create a hidden radio button set

                Not a bad idea. Gonna mess with that now

                Dan Korneff - Producer / Mixer / Audio Nerd

                ustk 1 Reply Last reply Reply Quote 1
                • ustk
                  ustk @Dan Korneff last edited by

                  @orange has a good idea, in the same thought why not to use a knob to store the array index of your impulse that will be restored?

                  I can't help pressing F5 in the forum...

                  1 Reply Last reply Reply Quote 2
                  • Christoph Hart
                    Christoph Hart last edited by

                    I would also go with the hidden slider one.

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

                    5
                    Online

                    1.2k
                    Users

                    7.1k
                    Topics

                    64.9k
                    Posts