Exemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        midi              = GetComponent <MidiManager>();
        midi.OnMidiInput += MidiInput;

        Debug.Log("input device num : " + midi.MidiInGetNumDevs());
        Debug.Log("output device num : " + midi.MidiOutGetNumDevs());

        midi.MidiInOpen(0);
    }