Need input today : MIDI chord or single note recognition

Glennzone's icon

I'm suffering brainlock today,
and would like to make a Request For Input, if I may . . .

I'm trying to setup a subpatch for recognition and filtering of whether MIDI input is a single note, or more than a single note.
If it's a single note, we take the low road.
If it's more than a single note, we take the high road.

Sorry folks, but I just seem to have misplaced my Max hat, so I can't put it on ! :-(

Can someone help me with a kickstart ?

Thanks in advance for choosing not to flame me; I'm but a simple spare-time Max developer,
Glennzone

hz37's icon

[threshold] + [zl.len] perhaps?

Roman Thilenius's icon

[thresh 5.] + [select int list] ?

spectro's icon
Max Patch
Copy patch and select New From Clipboard in Max.

You can do it the hard way, but the third outlet of [borax] will report the number of notes active. The rest is (yet another) a piece of cake...

Glennzone's icon

Thank you to H, Roman, and Spectro. I appreciate your willingness to accept the challenge.

I think we can agree that the Borax solution is certainly the most elegant and simplistic, plus Borax gets sheets clean and fresh !

:-)

Anyway, I really needed the intervention today. Again, thank you all.

Thanks,
Glennzone