Value 1 and Value 2

MIDI events can be composed of value 1 and value 2.

Value 1 and value 2 have different meanings for different event types:

Event type

Value 1

Value 2

Notes

The Note Number/Pitch.

The velocity of the note.

Poly Pressure

The key that was pressed.

The amount of pressure for the key.

Controller

The type of Controller, displayed as a number.

The amount of Control Change.

Program Change

The Program Change number.

Not used.

Aftertouch

The amount of pressure.

Not used.

Pitchbend

The “fine-tune” of the bend. Not always used.

The coarse amount of bend.

Note

System Exclusive events do not use value 1 and 2.