midi noteout to multiple channels?
Hi all,
I'm generating random midi notes and sending them to noteout. But I have other sfplay~ objects sending audio samples to 12 different channels on dac~. I want to send the midi notes out to all 12 channels as well, not just the default L/R. Any ideas?
Here's the patch:
Thanks!
Basically you need to replace [midiout] by [vst~] objects loaded with appropriate instruments (eg. DLSMusicDevice on Mac). Then you can route the audio output of those instruments to different channels.
@broc,
Thanks! I'm getting closer now. I have the midi notes going through the DLSMusicDevice to a [vst~] and then to [dac~] in 6 channels.
What I can't figure out is how to change the instrument selection now. It's set to piano and I'm not sure how to change the timbre. I'm sure this is something simple, but I can't find the right place.
The test patch:
Anyone know where to change this?
Thanks!
For instrument selection send the message [midievent 192 $1] where $1 is the program number.
@broc,
Excellent! That did the trick, thanks so much. For anyone else interested, here is the test patch incorporating this: