HISE Logo Forum
    • Categories
    • Register
    • Login

    Per-event routing?

    Scheduled Pinned Locked Moved Scripting
    4 Posts 3 Posters 371 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.
    • A
      aaronventure
      last edited by

      Is it possible to script dynamic voice routing?

      E.g. if the sampler module has 10 channels, assuming it all works like everything else i.e. in pairs of two, can a note event be instructed to play on a specific channel pair?

      KONTAKT has redirect_output(<event-id>, <output-type>, <index>).

      Can something like that be done with a routing matrix? I know I can script dynamic channel switching using scriptFX and processBlock, but there's no way to separate the voice at that point (that I know of).

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

        If it can that would be great, we could essentially have multiple effects chains in a single sampler.

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

        1 Reply Last reply Reply Quote 0
        • clevername27C
          clevername27 @aaronventure
          last edited by clevername27

          @aaronventure With multiple Samplers, some ScriptNode, and a global variable , that sounds straight-forward enough?

          A 1 Reply Last reply Reply Quote 0
          • A
            aaronventure @clevername27
            last edited by

            @clevername27 Of course, but I would like to be able to do this with a single sampler, because I'd need 6+ channel pairs and maintaining the rather complex modulator and FX setup for each sampler isn't ideal, and the whole thing cannot then scale.

            I wrote about the usage of proessBlock for crazy simple routing here https://forum.hise.audio/topic/9325/channel-routing-with-a-few-lines-of-code?_=1715791474986

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

            16

            Online

            1.7k

            Users

            11.8k

            Topics

            103.2k

            Posts