Module Mu_midi.Msg

MIDI messages.

type t =
| Note_off of {
channel : channel;
key : key;
velocity : velocity;
}
| Note_on of {
channel : channel;
key : key;
velocity : velocity;
}
| Key_pressure of {
channel : channel;
key : key;
pressure : pressure;
}
| Control_change of {
channel : channel;
controller : controller;
value : int;
}
| Program_change of {
channel : channel;
program : program;
}
| Channel_pressure of {
channel : channel;
pressure : pressure;
}
| Pitch_wheel of {
channel : channel;
pitch_wheel : pitch_wheel;
}
| Sequence_number of int
| Text of string
| Copyright of string
| Track_name of string
| Instrument_name of string
| Lyrics of string
| Marker of string
| Cue_point of string
| Channel_prefix of channel
| Program_name of string
| Device_name of string
| Track_end
| Tempo_change of tempo
| Smtpe_offset of int * int * int * int * int
| Time_signature of int * int * int * int
| Key_signature of int * int
| Reserved of int * string
| Sysex of int * string