Platforms to show: All Mac Windows Linux Cross-Platform
Back to WindowsMidiStreamMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS Audio Plugin | 6.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
WindowsMidiStreamMBS.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 |
By default, the device is opened in paused mode.
Lasterror is set.
DeviceID: The device is opened on behalf of the stream and closed again when the stream is closed.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS Audio Plugin | 6.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
Lasterror is set.
WindowsMidiStreamMBS.PositionBytes 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.
WindowsMidiStreamMBS.PositionMS as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS Audio Plugin | 6.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
Position of the stream in milliseconds.
Lasterror is set.
WindowsMidiStreamMBS.PositionSamples 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.
WindowsMidiStreamMBS.PositionTicks 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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS Audio Plugin | 6.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
Lasterror is set.
WindowsMidiStreamMBS.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:
WindowsMidiStreamMBS.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:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS Audio Plugin | 6.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
Lasterror is set.
WindowsMidiStreamMBS.Tempo as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MIDI | MBS Audio Plugin | 6.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
The tempo is honored only if the time division for the stream is specified in quarter note format.
Lasterror is set.
(Read and Write computed property)
WindowsMidiStreamMBS.TimeDiv as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MIDI | MBS Audio Plugin | 6.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
The low 16 bits of this integer value contain the time division.
Lasterror is set.
(Read and Write computed property)
WindowsMidiStreamMBS.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.
Lasterror is set.
(Read and Write computed property)
The items on this page are in the following plugins: MBS Audio Plugin.