send a bang only when specific numbers are received

Feb 21, 2013 at 2:28pm

send a bang only when specific numbers are received

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?

#66644
Feb 21, 2013 at 2:37pm

Hi,

[select], [coll], [funbuff] ?

Have a look on “See Also” menu in the bottom-right corner of help patchers.

#239881
Feb 21, 2013 at 5:44pm

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

#239882

You must be logged in to reply to this topic.