synthesizeFromNotes

fun synthesizeFromNotes(notes: List<MidiNote>, outputPath: String): Boolean

Synthesize audio from a list of MIDI notes.

Note timing is specified in absolute milliseconds. A note with startTime=500 will play at 500ms in the output audio.

Return

true if synthesis was successful

Parameters

notes

List of MidiNote objects with timing in milliseconds

outputPath

Path for output WAV file