You have easy access interface for parsing and playing the midi file :
import vmidi
midi := vmidi.parse(file) or { return }
midi.play()
Method | use |
---|---|
.parse(filename string) ?Midi |
Returns an optional Midi structure with the parsed filename file |
.play(midi Midi) |
Plays the tunes of the Midi file |