package llama

  1. Overview
  2. Docs
module Channel_voice_message = Llama_midi.Channel_voice_message
module System_message = Llama_midi.System_message
module Meta_event = Llama_midi.Meta_event
module Message = Llama_midi.Message
module Event = Llama_midi.Event
module Track = Llama_midi.Track
module Format = Llama_midi.Format
module Division = Llama_midi.Division
module Header = Llama_midi.Header
module Data = Llama_midi.Data
module File_reader = Llama_midi.File_reader
module File_writer = Llama_midi.File_writer
module For_test = Llama_midi.For_test
module Controller_table : sig ... end
module Gate_table : sig ... end
module Midi_sequencer : sig ... end
val track_signal : Track.t -> Llama_core__.Signal.Trigger.t -> Event.t list Llama_core__.Signal.t
module Midi_input : sig ... end
val live_midi_signal : Midi_input.t -> int -> (Event.t list Signal.t, [ `No_such_port ]) Stdlib.result

Create a signal of lists of midi events that arrive on a given midi port in real time

val live_midi_sequencer : Midi_input.t -> port:int -> channel:int -> polyphony:int -> (Midi_sequencer.output, [ `No_such_port ]) Stdlib.result

Create a midi sequencer that processes midi events on a single midi channel from a given port. Use this for simple cases where you're only interested in events on a single channel.

OCaml

Innovation. Community. Security.