Forums > MaxMSP

Silly Question?

February 3, 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.

Thanks,
-Levy


February 3, 2011 | 8:31 am

If you’re on Mac you can use MIDIkeys: http://www.manyetas.com/creed/midikeys.html
Sure there’s a PC equivalent



pid
February 3, 2011 | 11:08 am

what you are doing is the correct method, yes.

look at Extras menu > KeyMIDI example


February 3, 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.


February 3, 2011 | 4:21 pm

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

lh


February 4, 2011 | 1:11 am

wow. great feedback! Thanks everyone.


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