Forums > MaxMSP

Midi notes to midi CC

Apr 23 2009 | 7:04 pm

Hi – I’m trying to create a max patch which takes midi note information and converts it to midi CCs… so basically each note number corresponds to a CC number and sends out a 127 value instead of note on, and 0 value instead of note off (with the option of making it velocity sensitive)…

It seems simple in theory (i built a plug in synthmaker that could do it, but since i moved to mac i can use it anymore) but i can’t seem to filter out the note info from "other notes"… everything i’ve create so far works fine when used ‘monophonic’ but as soon as i add multiple notes (particularly if they arrive simultaneously – ie in a chord), i can’t filter what velocity values are coming from what note…

i’ve tried the "poly" object, and that sort of works but there are still sequences of notes which cause incorrect output…

any ideas on how to do this? it seems so simple in theory…

Apr 24 2009 | 6:26 am

Maybe something like:
[pack] // pack note and velocity
[route (here your note numbers…)]
[prepend (here a CC number)] // do that for each output of route

Nov 12 2013 | 11:44 pm

I just wanted to thank you J-F C,
I know this is an old thread but your answer here helped me quite a lot.

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP