BASS.NET API for the Un4seen BASS Audio LibraryMidiInputDevice Constructor (Int32, MIDIINPROC)BASS.NET API for the Un4seen BASS Audio Library
Creates a new instance of a MidiInputDevice.

Namespace: radio42.Multimedia.Midi
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public MidiInputDevice(
	int deviceID,
	MIDIINPROC proc
)

Parameters

deviceID
Type: SystemInt32
The input device number to use.
proc
Type: radio42.Multimedia.MidiMIDIINPROC
The MIDIINPROC in which all MIDIMessage should be handled.
Remarks

Use the Open method to open the Midi device and call Start to start recording messages.

To stop recording call the Stop method. When you are done with the device you might call the Close method to actually close the Midi input device.

See Also

Reference