Per-event routing?
-
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).
-
If it can that would be great, we could essentially have multiple effects chains in a single sampler.
-
@aaronventure With multiple Samplers, some ScriptNode, and a global variable , that sounds straight-forward enough?
-
@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