Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsMidiInputMBS class.

WindowsMidiInputMBS.Close

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MIDI MBS Audio Plugin 6.1 ❌ No ✅ Yes ❌ No ❌ No All
Closes the device.

First stops recording, second resets midi output device and third Closes the device with waiting till device is done.
Handle is set to 0 and lasterror is set.

WindowsMidiInputMBS.Idle

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MIDI MBS Audio Plugin 9.7 ❌ No ✅ Yes ❌ No ❌ No All
Processes events.

Midi events are buffered in data structures. This method dispatches them to the Xojo event handlers.
Call this method as often as you need events to fire. For example every 100ms in a timer.

same as WindowsMidiMBS.Idle

WindowsMidiInputMBS.InputErrorText(errorcode as Integer) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MIDI MBS Audio Plugin 6.1 ❌ No ✅ Yes ❌ No ❌ No All
Translates an error number into a human readable text.

Returns "" on unknown errros.
String returned has Windows ANSI text encoding.

WindowsMidiInputMBS.Open(DeviceID as Integer, BufferSize as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MIDI MBS Audio Plugin 6.1 ❌ No ✅ Yes ❌ No ❌ No All
Opens a Midi device.

DeviceID is from 0 to NumberOfMidiInputDevices-1.
Buffersize is the maximum size to allocate for each SysEx receive buffer.
Minimum is 256 bytes. Windows does not handle SysEx messages bigger than 64K.
Lasterror is set.
On success the handle property is non zero.

WindowsMidiInputMBS.Reset

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MIDI MBS Audio Plugin 6.1 ❌ No ✅ Yes ❌ No ❌ No All
Resets the device.

Lasterror is set.

WindowsMidiInputMBS.Start

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MIDI MBS Audio Plugin 6.1 ❌ No ✅ Yes ❌ No ❌ No All
Starts listening for events.

Lasterror is set.
Please do not call from Open event as that's too early.

WindowsMidiInputMBS.Stop

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MIDI MBS Audio Plugin 6.1 ❌ No ✅ Yes ❌ No ❌ No All
Stops recording.

Lasterror is set.
You should not need this and just call close or let the object die.

The items on this page are in the following plugins: MBS Audio Plugin.


The biggest plugin in space...