//SpriteRenderer sr; //private Sprite[] sprites; // Use this for initialization void Start() { sequencer = new MIDISequencer(); sequencer.LoadCompleted += Sequencer_LoadCompleted; Thread t = new Thread(() => { sequencer.Init(); }); t.Start(); t.Join(); sequencer.ShowDebug = true; sequencer.Load("C:/repo/Piano/Assets/bach.mid"); }
private void Load() { Sequencer.Init(); }