API ReferenceAll TypessynthIAlphaSynthplayOneTimeMidiFileOn this pageplayOneTimeMidiFileDescription​ Stops any ongoing playback and plays the given midi file instead. JavaScriptC#KotlinplayOneTimeMidiFile(midi: MidiFile): voidvoid PlayOneTimeMidiFile(MidiFile midi)fun playOneTimeMidiFile(midi: MidiFile): Unit ParameterSummarymidiAllThe midi file to play