Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to WindowsMidiOutputMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS Audio Plugin | 6.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
Closes the device with waiting till device is done.
Handle is set to 0 and lasterror is set.
WindowsMidiOutputMBS.Open(DeviceID as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS Audio Plugin | 6.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
DeviceID is from 0 to NumberOfMidiOutputDevices-1.
Lasterror is set.
WindowsMidiOutputMBS.OpenDefault
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS Audio Plugin | 6.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
If only one midi output device is available this one is opened.
On success the handle property is not zero.
Lasterror is set.
WindowsMidiOutputMBS.OutputErrorText(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 |
Returns "" on unknown errros.
String returned has Windows ANSI text encoding.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS Audio Plugin | 6.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
Lasterror is set.
WindowsMidiOutputMBS.SendData(data as memoryblock)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS Audio Plugin | 12.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
Lasterror is set.
See also
http://msdn.microsoft.com/en-us/library/windows/desktop/dd798474(v=vs.85).aspx
See also:
WindowsMidiOutputMBS.SendData(data as memoryblock, size as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS Audio Plugin | 6.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
Lasterror is set.
size is the size of the memoryblock to use. A wrong value will crash the application.
See also
http://msdn.microsoft.com/en-us/library/windows/desktop/dd798474(v=vs.85).aspx
See also:
WindowsMidiOutputMBS.SendData(data as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS Audio Plugin | 6.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
Lasterror is set.
See also
http://msdn.microsoft.com/en-us/library/windows/desktop/dd798474(v=vs.85).aspx
The plugin prepares MIDIHDR structure and uses your data there.
See also:
WindowsMidiOutputMBS.SendMessage(message as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS Audio Plugin | 6.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
The message is stored in one 32bit integer.
lowest 8 bit is status, second 8 bit is data1, third 8 bit is data2 and highest 8 bit is left 0.
Between sending note on and off messages, you need to leave time for actual playback.
Lasterror is set.
See also
http://msdn.microsoft.com/en-us/library/windows/desktop/dd798481(v=vs.85).aspx
See also:
WindowsMidiOutputMBS.SendMessage(status as Integer, data1 as Integer, data2 as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS Audio Plugin | 6.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
Lasterror is set.
Between sending note on and off messages, you need to leave time for actual playback.
see also
http://msdn.microsoft.com/en-us/library/windows/desktop/dd798481(v=vs.85).aspx
See also:
WindowsMidiOutputMBS.Volume as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MIDI | MBS Audio Plugin | 6.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
Not all devices can set the volume.
Lasterror is set.
The low-order word contains the left-channel volume setting, and the high-order word contains the right-channel setting. A value of &hFFFF represents full volume, and a value of &h0000 is silence.
If a device does not support both left and right volume control, the low-order word of dwVolume specifies the mono volume level, and the high-order word is ignored.
(Read and Write computed property)
The items on this page are in the following plugins: MBS Audio Plugin.