Class Multitrack.create

Create a multichannel synthesizer with given number of channels and a function returning the synthesizer on each channel.

method play : Mm_midi.MIDI.Multitrack.buffer -> int -> Mm_audio.Audio.buffer -> int -> int -> unit

Synthesize into an audio buffer.

method play_add : Mm_midi.MIDI.Multitrack.buffer -> int -> Mm_audio.Audio.buffer -> int -> int -> unit

Same as play but keeps data originally present in the buffer.