Processing a chord of midi notes?

StateAardvark's icon

I want to input a list of midi notes to a Max patch and then process that list so that each midi note controls the tuning of an individual waveform in my synth's timbre. How do I get a Max For Live patch to input multiple midi notes from Ableton?

I tried midiparse, but it only seems to parse information about one note instead of parsing an entire midi chord and giving each midi note-on event an individual output. I tried unpacking a midiin, but could only get one note-in message. I guess midiin only inputs one note-on event.

I'm kinda new to Max MSP and programming in general, so please try to be patient if this is extremely basic. I'm a total noob.

broc's icon

You could use the [thresh] object, see example on the help file.

richhop's icon
Max Patch
Copy patch and select New From Clipboard in Max.
Roman Thilenius's icon

there is no such thing as a chord in midi, it is all serial. this why your design failed.

if you can live with the 2 milliseconds delay it causes, i would also recommend the approach to use [tresh] so that you can work with the chord as list. otherwise it will be very complicated to find out how many notes are in a serial sequence of incoming midi notes in order to distribute them onto different channels.

-110

Wetterberg's icon

doesn't borax keep track of that pretty well?