MidiNoteOn

HC Sound programming Midi MidiNoteOn
MidiProgramChange MidiNoteOff

MidiNoteOn channel pitch velocity


command to turn the note with pitch of the channel on. The velocity is the speed with which a key is pressed and directly maps to the volume of the sound.

channel must be an integer in the range 0..15.

pitch must be an number in the range 0..127.

velocity must be an integer in the range 0..127.

Example:

MidiOpen 0
MidiNoteOn 0 58 127
MidiClose

Examples:

References:

MidiProgramChange MidiNoteOff