Forum
    • Categories
    • Register
    • Login

    Scriptnode filter.convolution – select External Audio File Slot from UI (ComboBox)?

    Scheduled Pinned Locked Moved ScriptNode
    17 Posts 3 Posters 68 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.
    • F
      filipalex96 @David Healey
      last edited by

      @David-Healey said in Scriptnode filter.convolution – select External Audio File Slot from UI (ComboBox)?:

      Instead of getting the reference to the effect with Synth.getEffect you need to get it as an AudioSampleProcessor. That will give you access to a bunch of extra functions.

      Thanks a lot for the tip, really appreciate it!
      I didn’t realize I should access it as an AudioSampleProcessor instead of using Synth.getEffect(). That makes a lot of sense.
      I’ll try this approach and see how it goes. Thanks again for the help!

      F 1 Reply Last reply Reply Quote 0
      • F
        filipalex96 @filipalex96
        last edited by

        @filipalex96 Thanks again — I’m very close now.
        I call Engine.loadAudioFilesIntoPool() and setFile() works in principle, but I can’t get the correct reference via Synth.getAudioSampleProcessor("...").

        cod.png

        In my Scriptnode network the convolution node is labeled/ID like “convolution_verb” (see screenshot), but Synth.getAudioSampleProcessor("convolution_verb") doesn’t seem to resolve.

        Question: what exact name/ID should I use in Synth.getAudioSampleProcessor() to reference the Scriptnode convolution “Single Sample” loader? Is it the Scriptnode node ID, or the module ID somewhere else?
        Any quick way to list available AudioSampleProcessors / their IDs from script?

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

          @filipalex96 said in Scriptnode filter.convolution – select External Audio File Slot from UI (ComboBox)?:

          but I can’t get the correct reference via Synth.getAudioSampleProcessor("...").

          Right click on the header of the script effect and select it.

          ed9a44b8-3a80-4891-aadd-8cd2c0fd3e0e-image.png

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

          F 1 Reply Last reply Reply Quote 0
          • F
            filipalex96 @David Healey
            last edited by

            @David-Healey Hi again, thanks for the suggestion! I think there’s a misunderstanding on my side:
            I’m not using the classic Convolution Reverb FX module. I’m using Scriptnode → filter.convolution inside a ScriptFX network.

            However, from Interface Script:

            Synth.getAudioSampleProcessor("Script_FX1") exists (auto-generated by HISE), but calling Script_FX1.setFile("SomeIR.wav") does nothing (IR does not change).

            fx.getNumAttributes() is 0, and I also don’t have getNode() in my build, so I can’t access the node directly.

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

              @filipalex96 I'll make a snippet for you in a bit

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

              F 1 Reply Last reply Reply Quote 0
              • F
                filipalex96 @David Healey
                last edited by

                @David-Healey thank you soo much

                ChazroxC David HealeyD 2 Replies Last reply Reply Quote 0
                • ChazroxC
                  Chazrox @filipalex96
                  last edited by Chazrox

                  @filipalex96 fix your 'const var conv' to 'const var'

                  Screenshot 2025-12-26 at 11.24.01 AM.png

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

                    @Chazrox Variable needs a name

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

                    ChazroxC 1 Reply Last reply Reply Quote 1
                    • ChazroxC
                      Chazrox @David Healey
                      last edited by

                      @David-Healey ahh duhh. long week. smh. I'll take 2 shirts please.

                      1 Reply Last reply Reply Quote 2
                      • David HealeyD
                        David Healey @filipalex96
                        last edited by

                        @filipalex96

                        HiseSnippet 1535.3ocuX8zaSbDEeVmrAhgTARk6a8ImpTiMALfpZqicrA2hSrhCQTUphFu633oY1Y1t6rIwEwodga8TOvs9EnR8ZuwWfdpeQ52f12LyZuqwAvwBZhT7Ny6e+dy689siS2PgKIJRDhrxu+n.Bx5p18FwkCaLDS4n1air9H6N3HIIzwrU8QA3nHhGxxZoGn1vZ0kQ5e9mupNlg4tjzsPnCDTWxin9TY5tcq8MTFqE1irO0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AIReHe3.X.dKFSbpZvmlz5BEF8dcErQACEbpqZKiFiQ5V9hXEKgAto880GWNFib3NQ6ioL0XPu3HfKzaWdOvO5KhYszAjvHcLujc4RvuvXwNBOPzJsvtvY9ntX4P07khdEZlIgkbmzTOUZLUek9FYSIV40w2cyfLHg70LcvM2rVJC8nokVsBFXyYBT6nCTRcwLzAFtVHwU9zb5ZfrR00TH8DAKVeTNURbC6ATFbsknRYUYVbOsKtH.WIBlLNaL0elgqrq.5f1bOxYicXSns2Cd0j1rj9nNTdRhZzoC9rIq+0qoXcvg.ZUoC3a6Iqfg+TSSY6RMOkktmjDXZUxr2wjSMGZY2UcvtB7V.IAsO4L49BsufN8SfLWEyqX+XHgF.8Gd.vNxbc7dw8ePnHNPuXlnuMY.NlImYezENUp8K0tXoRd6tgDOBPk8FRmUr0e0i4JSPnyOSxVhN2L4ae0rEEfLY5L42d4K+yYyjWczebiZpLAt6.vECTZugDQc2BWZeB6Cbtb6ZyjKu3umupRse1+uzUkKY+PZiX4arCqUH4GiAdqQyUt.g+byEXezG9gk0r6.QlJGFRvduulYlmpihDptPbrOV+hmE5Zn+u7ZReran3PWya9UTXWVuCPnx0jvqZ2Qs1Yl6VC2uE91yG55NsqlwvasnFt4hZ3sWTCuyhZX0E0v6tnFdu2sgp+4FaEKE9lay.iScaZdylUSNFtnl9Usn+CnJSLzH
                        

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

                        F 1 Reply Last reply Reply Quote 1
                        • F
                          filipalex96 @David Healey
                          last edited by

                          @David-Healey thank you soooo muchhh 🙏

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

                          11

                          Online

                          2.1k

                          Users

                          13.1k

                          Topics

                          113.7k

                          Posts