Forum
    • Categories
    • Register
    • Login

    Convolution Reverb - user selecting their own IRs

    Scheduled Pinned Locked Moved General Questions
    6 Posts 3 Posters 105 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.
    • P
      pgroslou
      last edited by

      I have a question. Can a user load their own IRs for a convolution reverb thru the user interface while the plugin is running, instead of the developer having load them at build time? I have it working where the user selects the IRs using a combo box, thanks to David H's video. So i thought I would explore this route. I looked in the forum and in the snippets but didn't see anything.

      If it can be done, how would I go about it? Thx

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

        @pgroslou Yes, there are a few ways to do this. Probably the simplest is to use an AudioWaveForm control, this comes with a drag n drop feature too.

        HiseSnippet 910.3ocuV0saSjCE1tsC61r6h.DbetrrBgxPSS6JtXSa9Ah11RDoTVtB4XeRFq5wdjGOoDgVo8x8YXeZ3cfWDdCXsmYRmYnQcai.xEQ47mOe967iyPshBwwJMBW6j4Q.B+ydilKMAcBHbIZPWD91dGQhMftdlpClGQhiAFBiW+YNE3M2.k94S+9ADAQRgBUHzoJNENjGxMEZG19O3BQeBCNgGVx6lsGPUxNJgJwhm08ZfhHzyHSgiIN2VyC8bRb.B+qdTVSZSZqwM8IjI65OtELdO+c8g8n6v9MJkP2YL0e6sIH7s5w3FkdjgXfX6gdfhMeTf5bYVBNkGyGK.mfOZjMyYpQcB3B1vEjSLBg2XXAUsdFUceui3L9E5Knr6jZndQDkIM7ZWEj7uAPBWBRajAo65Mhp4QlBKN77SdCj1J3Dhs1TFJY9hvevqix5fz73PxYPesU3h.1pUiFOpt8qG9zIIRpgqj0UxiUF3ExsdXs2WayZ+Us5eooISVpMWZzJg.zK0rqcPeUAtkLIbLneT8YDQBbgi1qeUN8VWONklcqK4nRNPxMuHBxk6qDLGW498kq.nbZyUKxQnM2lzJwCxqD6mv3pWSlAST5PDm45NpnyGkdYJOzvHFRZ+tlHmB1Kk1Vj7vNSoZ5IYKjQuZPWm24HvBFK.i.sg63AbWXlc9Kq2XSutP7YFUTpugQJoC53e3Fi22Uf0iaO+Bg+9z1myYl.Gz9WK3B.9zfTf2xJEsf2FvbIyB1YJQRZ48kvLPO1RvWte1NIoXIBho53kawStA6ATom103Ji4l4kWLcCl4ZbkybWWHdWugbCMX4XbskfQaA7aAFy2T8Kd8lLAnlB.tgW++bUWK035uV5dKxeo5cZ9WdGPY.0UOu56Ku4CuFLUUgPGZQqjVgHGDFkHhgCA4TWyXQWPNtFHiRLk0+pX3.6CMS0pDI6j.MPXkOugZfABRkb7bdmRmw+7w1cIgQb4zx9zu+I4Cd4pte69bQwiYgtaR1TbH4cK9oPohpLw6TTZfGu9WomOPuTYIe4ziHFM2k9iSBGYe4kB1tDoDDwtTtlaKWlbiEPXDHYoBe19I2nuSFmazegwuK4HjP0p2Ry1+5Z.+wTM16sLkp2z9GXrx0Wxh1P6yzukRqdTWJvmrpAt8pFXyUMvcV0.aspAt6pF3d++A59WT6mXTgYqPQniF1K80NLtmjX6xSWTf9OGo52QA
        

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

        P 2 Replies Last reply Reply Quote 1
        • P
          pgroslou @David Healey
          last edited by

          @David-Healey Thanks David! I will try that. Cheers!

          1 Reply Last reply Reply Quote 0
          • P
            pgroslou @David Healey
            last edited by

            @David-Healey I tried it and it works great and really easy to implement. I also didn't have to remove the combo box, users can either choose an IR or load their own. Very nice. Thanks again!

            W 2 Replies Last reply Reply Quote 1
            • W
              WepaAudio @pgroslou
              last edited by

              @pgroslou

              // CREATE A COMBO BOX NAMED : cmbIr
              // Also add your convolution reverbs into the AudioFile folder, this combo box will show a dropdown //menu
              //with all your convolution reverb files instead of sending you to your folders.

              const var ConvolutionReverb1 = Synth.getAudioSampleProcessor("Convolution Reverb1");
              const irs = Engine.loadAudioFilesIntoPool();

              const cmbIr = Content.getComponent("cmbIr");

              inline function oncmbIrControl(component, value)
              {
              if (value > 0)
              ConvolutionReverb1.setFile(irs[value - 1]);
              };

              Content.getComponent("cmbIr").setControlCallback(oncmbIrControl);
              cmbIr.set("items","") ;
              for (x in irs)
              cmbIr.addItem(x.replace("{PROJECT_FOLDER}").replace(".wav"));

              1 Reply Last reply Reply Quote 0
              • W
                WepaAudio @pgroslou
                last edited by

                @pgroslou you can add a second AUDIO WAVE FORM like the one Dave gave you and add it on top of the one in the code I gave you , just disable the opaque settings and alpha the background so you can see both screens, and select the convolution reverb on the processor settings, now you can give the user both options, your convolutions ir or the option of user ir

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

                17

                Online

                2.1k

                Users

                13.2k

                Topics

                114.2k

                Posts