Skip to main content

midiFileToJsObject

Description​

Converts the given MidiFile object into a serialized JavaScript object.

static midiFileToJsObject(midi: MidiFile): Map<string, unknown>
ParameterSummary
midiAll

The midi file to convert.

Returns​

A serialized MidiFile object without ciruclar dependencies that can be used for further serializations.