예제 #1
0
    //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");
    }
예제 #2
0
 private void Load()
 {
     Sequencer.Init();
 }