Local Test
Example 1: MIDI player

Play Rock the Jukebox (Alan Jackson)    Play Unchain my Heart (Bobby Sharp)   Play Hinematov (Reiner Oberbeck)   Play Woman in Love (Barbara Streisand)   Play silence.mid   Play tiny-test.mid   Loop(0) tiny-test.mid once   Loop(1) tiny-test.mid once   Loop(3) tiny-test.mid three times   Loop(false) tiny-test.mid once   Loop(true) tiny-test.mid endlessly  

Stop Playback

MIDI.js status: Initializing ...
MIDI.js audio time (s): -

Example2: Get MIDI File Playing Duration

Get Playing Durations (seconds)

Don't Rock the Jukebox (Alan Jackson)
n/a
Unchain My Heart (Bobby Sharp)
n/a
Hinematov (Reiner Oberbeck)
n/a
Woman in Love (Barbara Streisand)
n/a
Tiny Test
n/a