Methods
-
inner MidiGetTime() → {number}
-
Get song position.
Returns:
number - current song position in seconds. -
inner MidiIsPlaying() → {boolean}
-
Check if the file is still playing.
Returns:
boolean - true if the file is still playing. -
inner MidiOut(data)
-
Send MIDI commands to output.
Parameters:
Name Type Description data
Array.<number> an array of midi commands. -
inner MidiPause()
-
Pause playing midi.
-
inner MidiResume()
-
Resume playing midi after MidiPause().
-
inner MidiStop()
-
Stop playing midi.