Midi Devices
In the framework a midi input device can be used to record midi events and create clips from them or to send midi events to plugin instruments.
Choosing a Midi Input Device
To select an available midi input device we use the CreateMidiInputDevice method, passing the device name. We can get the input devices name using the Extension.GetMidiInputsName method.
// Get the available midi input devices namestring[] midiInputs = Extensions.GetMidiInputsName();
// Create a midi input device from the first device nameSonoraMain.CreateMidiInputDevice(midiInputs[0]);This is all we need to know to setup midi devices.
Audio devices Prev
Audio clips Next