Fixed a bug in MidiFile.play() and updated example to reset channels.