MIDI.Multitrack
Multitrack buffers.
type t = buffer array
A multitrack buffer.
type buffer = t
val channels : buffer -> int
Channels.
val duration : buffer -> int
Duration.
val create : int -> int -> buffer
Create a multitrack MIDI buffer with given number of channels and length in samples.
val clear : ?channel:int -> buffer -> int -> int -> unit