Hello,
I have a sampler containing 14 audio files. I would like to dispatch them to different speakers depending on the file.
For example: audio 1 => speakers 1&2 ; audio 3 => speakers 3&4, etc.
I have a dispatch module and I can use the file number outlet but I don't figure out how to make the conditional state (if audio file = 1, then select dispatch output 2, etc.).
What is the simplest way to get through this, please?
Thank you,
creal.
Simplest way to change speakers output from sampler file number
an audio-mix-dispatch and data-scaling-mapper-value can do the trick I think ?
or math modules if the order is "logical" (think about the math-mod module)
in your example
for the left channel of the sampler:
audio-mix-dispatch.selector = (sampler.file-number*2) MOD number-of-audio-outputs
for the right channel of the sampler:
audio-mix-dispatch.selector = 1 + (sampler.file-number*2) MOD number-of-audio-outputs
or math modules if the order is "logical" (think about the math-mod module)
in your example
for the left channel of the sampler:
audio-mix-dispatch.selector = (sampler.file-number*2) MOD number-of-audio-outputs
for the right channel of the sampler:
audio-mix-dispatch.selector = 1 + (sampler.file-number*2) MOD number-of-audio-outputs
Olivier Sens
www.brainmodular.com
www.brainmodular.com
Oh yes, perfect. The data-scaling-mapper-value does the trick: an output number depending on an input number 
I will take a look a the math-mod module too. Thanks.
I will take a look a the math-mod module too. Thanks.
Who is online
Users browsing this forum: No registered users and 73 guests
