midi noteout to multiple channels?

    Feb 18 2012 | 3:43 am
    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:

    • Feb 18 2012 | 10:16 am
      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.
    • Feb 18 2012 | 7:38 pm
      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?
    • Feb 18 2012 | 9:18 pm
      For instrument selection send the message [midievent 192 $1] where $1 is the program number.
    • Feb 18 2012 | 11:22 pm
      Excellent! That did the trick, thanks so much. For anyone else interested, here is the test patch incorporating this: