Open mitragee opened 1 year ago
Hello, I have a need to just playback a midi file, there are a lot of options in the package that I don't need at the moment, can you give me just a couple of lines of code to playback a midi file that is in unity (not from a url)
// load SMF from file StartCoroutine(GetStreamingAssetFilePath("Track 1.mid", stream => { sequencer.UpdateDeviceConnections(); sequencer.Stop(); sequencer.SetSequence(stream); sequencer.Start();
}));
Hello, I have a need to just playback a midi file, there are a lot of options in the package that I don't need at the moment, can you give me just a couple of lines of code to playback a midi file that is in unity (not from a url)