JS Meta-Channel Mapping
I would like to create a custom mixing FX that allows one to mix any channel with any other channel in a convenient interface.
The problem is that it requires one to be able to "arbitrarily" assign one input pin to any output pin.
splN = splM;
else, one has to resort to an N^2 if statement block that is extremely slow compared to the ideal case.
What could be done to remedy the situation, if there is not already a way to do this(as the docs do not mention a different way to set the sample levels), is to have a new notation like
spl:N = spl:M
where N and M can be literals, e.g., spl:0 == spl0, spl:N, for N a literal integer is defined to be splN. But N and M can also be variables, which are expected to be integers(positive and within the limits of the input and output ranges).
This way, ranter than an N*N block I can simply do the matrix like
spl:slider2 = spl:slider1!
which allows the user to map slider1's channel representation to any other by just dragging.
(my FX is more complex, of course, but without the ability to do what the above is trying to accomplish, the FX is not feasible to write.)
|