Midi keyboard problem

antwoorden's icon

When I select my midi keyboard as the midiin, Outputs key value shows the velocity instead of the key pitch number (while velocity value remains 0). So, the notes that get actually played depend on the velocity value.
Is there a way to fix this?

I'm using:
MaxMSP 5
Keystation 61es - 61-Key Semi-Weighted USB MIDI Controller

Chris Muir's icon

There's almost certainly a way to fix this. Without seeing your patch it's impossible to say how.

antwoorden's icon

It happens in any patch where I attach a kslider to a midiin. The bottom left outlet gives velocity instead of the key that I play, the upper right outlet just gives 0.

jvkr's icon

If indeed you use midiin, you get raw values, that need to be cooked for instance with midiparse. Yummy.

_
johan

Chris Muir's icon

kslider does not send a MIDI stream. Max does not have any outlets on the top of objects.

I repeat: without seeing your patch it's not easy to say what you're doing wrong.

Jean-Francois Charles's icon

To get notes, either use midiin + midiparse, or notein.