Module Mu_midi.Msg

MIDI messages.

type t =
  1. | Note_off of {
    1. channel : channel;
    2. key : key;
    3. velocity : velocity;
    }
  2. | Note_on of {
    1. channel : channel;
    2. key : key;
    3. velocity : velocity;
    }
  3. | Key_pressure of {
    1. channel : channel;
    2. key : key;
    3. pressure : pressure;
    }
  4. | Control_change of {
    1. channel : channel;
    2. controller : controller;
    3. value : int;
    }
  5. | Program_change of {
    1. channel : channel;
    2. program : program;
    }
  6. | Channel_pressure of {
    1. channel : channel;
    2. pressure : pressure;
    }
  7. | Pitch_wheel of {
    1. channel : channel;
    2. pitch_wheel : pitch_wheel;
    }
  8. | Sequence_number of int
  9. | Text of string
  10. | Copyright of string
  11. | Track_name of string
  12. | Instrument_name of string
  13. | Lyrics of string
  14. | Marker of string
  15. | Cue_point of string
  16. | Channel_prefix of channel
  17. | Program_name of string
  18. | Device_name of string
  19. | Track_end
  20. | Tempo_change of tempo
  21. | Smtpe_offset of int * int * int * int * int
  22. | Time_signature of int * int * int * int
  23. | Key_signature of int * int
  24. | Reserved of int * string
  25. | Sysex of int * string