Forums > MaxMSP

send a bang only when specific numbers are received

February 21, 2013 | 2:28 pm

I am creating a digital musical instrument which will receive serial data from a microcontroller hooked up via USB. My goal is to create a patch that will play specific MIDI notes using makenote only when a specific number has been received. For example, when the number 34 is sent from the serial object, it might send a 76 note (E4) to makenote, which is then sent to noteout and routed to GarageBand.

Is there an object (or series of objects) that will send a bang only when a specific set of numbers are received?


February 21, 2013 | 5:44 pm

Thanks a bunch, [select] was exactly what I was looking for!


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