Previous: MIDI File I/O, Up: Function Reference [Contents][Index]
A midimsg type enumeration for values of the midimsg type.
Enumeration values are:
Data | Stop | SongPositionPointer |
PolyOn | PolyKeyPressure | NoteOff |
EOX | ActiveSensing | SongSelect |
MonoOn | ChannelPressure | ControlChange |
TimingClock | SystemReset | AllSoundOff |
OmniOn | PitchBend | ProgramChange |
Start | TuneRequest | ResetAllControllers |
OmniOff | Undefined | SystemExclusive |
Continue | MIDITimeCodeQuarterFrame | LocalControl |
AllNotesOff | MetaEvent |
The enumeration value can be used instead of a string in midimsg creation.
Use both a string and a midimsgtype for the type parameter of a midimsg.
# both statements are equivalent
msg = midimsg('NoteOn', 1, 60, 100);
msg = midimsg(midimsgtype.NoteOn, 1, 60, 100);
See also: midimsg.