Forums > MaxMSP

Silly Question?

Feb 03 2011 | 4:59 am

Bear with me, Im a n00b…

Is it possible to use my computer keyboard to trigger MIDI notes?
I can capture the key info (ASCII) just fine, but am having difficulty understanding how to convert that to MIDI…

Update: I figured out one way to do this, but im wondering if there are any more optimal workflows.

I connected a Key Object>Number Box>Select + argument (ASCII equivalent of certain keyboard presses)>button (so I can see when they are triggered)>message with MIDI equivalent>Makenote with velocity and duration set>Noteout.


Feb 03 2011 | 8:31 am

If you’re on Mac you can use MIDIkeys:
Sure there’s a PC equivalent

Feb 03 2011 | 11:08 am

what you are doing is the correct method, yes.

look at Extras menu > KeyMIDI example

Feb 03 2011 | 1:47 pm

if you take [key] through [itoa] you can then use "sel q w e r t y" etc. instead of the numbers.

Feb 03 2011 | 4:21 pm

Check out this thread for a simple keyboard to midi abstraction and the helpfile.


Feb 04 2011 | 1:11 am

wow. great feedback! Thanks everyone.

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

Forums > MaxMSP