|
Post by topaz on Oct 9, 2019 18:25:06 GMT
Hi guys :-)
i have tried to edit the simple channel Switcher to work with multiple channels but seem to of failed, I am trying to map ie ch1 to 1 2 3 4 etc.
any help would be great :-)
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Oct 9, 2019 19:07:21 GMT
Hi topaz , In order to remap to multiple channels, you have to create copies (or clone) the event, one clone per additional channel. For cloning, you can use the pattern matching rules which were designed to do this concisely. Here is an example of cloning any event that comes in on channel 1 to channels 2, 3 and 4: X0 = X1 +C # clone channel 1 to channel 2 X0 = X2 +C # clone channel 1 to channel 3 X0 = X3 +C # clone channel 1 to channel 4You can do the same thing with SEND and MATH rules, but it's a bit more complicated, but I can detail that if you like. The simple channel switcher only allows you to select one outgoing remap channel (via the slider) so it probably is not quite such a suitable starting point for what you are after, I suspect. Obviously the above code is a fixed setup; it would be possible to write code that allows you to adjust the incoming and cloning mappings with a GUI control, but you'd need to think about what sort of controls you would want in order to adjust how the mapping works? Regards, Nic.
|
|
|
Post by topaz on Oct 9, 2019 21:02:24 GMT
Amazing, thanks Nic :-)))
|
|