package llama_midi

  1. Overview
  2. Docs

Module Llama_midi.Channel_voice_messageSource

Sourcetype note_event = {
  1. note : int;
  2. velocity : int;
}
Sourcetype polyphonic_key_pressure = {
  1. note : int;
  2. pressure : int;
}
Sourcetype control_change = {
  1. controller : int;
  2. value : int;
}
Sourcetype program_change = {
  1. program : int;
}
Sourcetype channel_pressure = {
  1. pressure : int;
}
Sourcetype pitch_wheel_change = {
  1. signed_value : int;
}
Sourcetype message =
  1. | Note_off of note_event
  2. | Note_on of note_event
  3. | Polyphonic_key_pressure of polyphonic_key_pressure
  4. | Control_change of control_change
  5. | Program_change of program_change
  6. | Channel_pressure of channel_pressure
  7. | Pitch_wheel_change of pitch_wheel_change
Sourcetype t = {
  1. channel : int;
  2. message : message;
}
Sourceval message_to_string : message -> string
Sourceval to_string : t -> string
OCaml

Innovation. Community. Security.