Module MIDI.Multitrack

module Multitrack: sig .. end

type t = MIDI.buffer array 
type buffer = t 
val channels : buffer -> int
val duration : buffer -> int
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