BASS.NET API for the Un4seen BASS Audio Library

MidiSysExMessageSend Method

BASS.NET API for the Un4seen BASS Audio Library
Sends this system-exclusive message to the given Device.

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

public bool Send()

Return Value

Type: Boolean
on success (message was send successfully), else .
Remarks

Note: Before sending this system-exclusive message it must have been prepared with Prepare!

This method will also fail, if the Midi Device was not opened with MIDI_OutOpen(IntPtr, Int32, MIDIOUTPROC, IntPtr) resp. MIDI_InOpen(IntPtr, Int32, MIDIINPROC, IntPtr, MIDIFlags). If dealing with an input device (IsInput) you must also start the device with MIDI_InStart(IntPtr).

If dealing with an input device this system-exclusive message is used to provide a buffer to the input device (MIDI_InAddBuffer(IntPtr, IntPtr) is used internally).

If dealing with an output device this system-exclusive message is send as a long message to the output device (MIDI_OutLongMsg(IntPtr, IntPtr) is used internally).

See Also

Reference