Synth.createCreate a synthesizer from a function which creates a generator at given frequency and volume.
method fill_add : Mm_audio.Audio.buffer -> int -> int -> unitFill a buffer with synthesized data adding to the original data of the buffer.
method play : Mm_midi.MIDI.buffer ->
int ->
Mm_audio.Audio.buffer ->
int ->
int ->
unitSynthesize into an audio buffer. Notice that the delta times in the track should be in samples (so they do depend on the samplerate).
method play_add : Mm_midi.MIDI.buffer ->
int ->
Mm_audio.Audio.buffer ->
int ->
int ->
unitSame as play but keeps data originally present in the buffer.