HISE Logo Forum
    • Categories
    • Register
    • Login

    Loading IRs into script_node convolution node

    Scheduled Pinned Locked Moved General Questions
    11 Posts 3 Posters 411 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.
    • LindonL
      Lindon
      last edited by

      I cant seem to find a way to programatically load an IR into a convolution node in script node...any clues??

      HISE Development for hire.
      www.channelrobot.com

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

        @Lindon You could connect it to an external slot.

        7530f5df-77b5-49a4-a595-935035a2f808-image.png

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

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

          @d-healey so that creates an External AudioFile Slot , what do I do with that?

          HISE Development for hire.
          www.channelrobot.com

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

            @Lindon Connect it to a waveform control on the UI via proccesor ID.

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

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

              @d-healey ..hmm Im confused cause the only way to change the file in the waveform control is to reference an audio processor - which in this case is the Script FX1, so I end up saying:

              const var ScriptFX1 = Synth.getAudioSampleProcessor("Script FX1");
              ScriptFX1.setFile("test.wav");
              

              so why do I need the AudioWaveform???

              HISE Development for hire.
              www.channelrobot.com

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

                @Lindon Ah yes, you're correct. Once you've added the external slot you can get it as an audio sample processor.

                I wonder how it's handled if you have more than one convolution node though... I'm sure I've done this before but I can't remember.

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

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

                  @d-healey said in Loading IRs into script_node convolution node:

                  @Lindon Ah yes, you're correct. Once you've added the external slot you can get it as an audio sample processor.

                  I wonder how it's handled if you have more than one convolution node though... I'm sure I've done this before but I can't remember.

                  hmm, that seems above my pay grade - so no idea there...

                  HISE Development for hire.
                  www.channelrobot.com

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

                    I wonder how it's handled if you have more than one convolution node though... I'm sure I've done this before but I can't remember.

                    Use another external audio file slot. It's all accessible through an index parameter.

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

                      @Christoph-Hart said in Loading IRs into script_node convolution node:

                      It's all accessible through an index parameter.

                      But setFile doesn't take an index?

                      Edit: Ah I guess it's this

                      2d1218a1-d14b-4ffd-99c2-f382aafbb138-image.png

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

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

                        @d-healey yeah but how does that work?

                        • what do we get back that we can use in SetFile?

                        HISE Development for hire.
                        www.channelrobot.com

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

                          @Lindon You get an AudioFile object I believe, which has a loadFile function.

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

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

                          49

                          Online

                          1.7k

                          Users

                          11.7k

                          Topics

                          101.8k

                          Posts