Help on midi keyboard triggering its own assigned bang

Jan 2, 2011 at 10:07pm

Help on midi keyboard triggering its own assigned bang

Is there an object or method that allows each key on my midi keyboard to trigger its own assigned bang?

cheers, andy

#54208
Jan 2, 2011 at 10:16pm

Hi Andy
not too clear what you need, but if you use the [key] object to identify keyboard presses, use the [select] or [route] objects to pass the ASCII values to independent bangs…….is this what you want? For example [key]->[select 32]->[bang] will trigger only when you hit the spacebar.
Brendan

#195117
Jan 2, 2011 at 10:20pm

sorry it wasn’t so clear. i mean a midi keyboard

#195118
Jan 2, 2011 at 10:28pm

Here’s an octave’s worth:

– Pasted Max Patch, click to expand. –
#195119
Jan 2, 2011 at 10:32pm

Maybe I should have read your original post a little slower – oops my bad.

Use [select] in the same way; connect a [number] object to the right(?) outlet of [midiin] to see the midi note numbers; then set these as arguments to [select], eg [select 64 66 68 69 71 73 75 76].

Brendan

#195120
Jan 2, 2011 at 10:40pm

great stuff, thanks mate :)

#195121

You must be logged in to reply to this topic.