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
- senso
- Site Admin
- Posts: 4434
- Location: France
- Contact:
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
