OptionaldurationHow long a note rings unless told otherwise, in milliseconds (default: 900)
OptionalgainLoudness, 0–1 (default: 0.5)
OptionalonThe sound could not start
OptionalsamplesRecorded samples to play instead of the built-in voice — a host laid
out like midi-js-soundfonts. The SDK ships none: you choose the host,
and that set's licence applies
OptionalsampleHow long a note may wait for its sample before the built-in voice plays it instead, in milliseconds (default: 1200)
Options for
useNoteSynth.