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 MidiPlaybackMBS class.
MidiPlaybackMBS.Callback as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS MacOSX Plugin | 6.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Return the address of the callback method used to process Midi data.
The method is to be used together with the SetCallback method in the MidiPortMBS class.
MidiPlaybackMBS.Constructor(UsesInternalReverb as boolean=false, AutoStart as boolean=true)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS MacOSX Plugin | 8.7 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
After calling the constructor the Inited flag is true on success.
If AutoStart is false the midi playback is not started.
MidiPlaybackMBS.CPULoad as single
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS MacOSX Plugin | 5.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns a short-term running average of the current CPU load of the graph. |
MidiPlaybackMBS.InstrumentCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS MacOSX Plugin | 5.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
MidiPlaybackMBS.InstrumentID(index as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS MacOSX Plugin | 5.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
MidiPlaybackMBS.InstrumentIDOnChannel(Channel as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MIDI | MBS MacOSX Plugin | 5.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read and Write computed property)
MidiPlaybackMBS.InstrumentName(index as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS MacOSX Plugin | 5.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Index from 0 to InstrumentCount-1.
MidiPlaybackMBS.IsRunning as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS MacOSX Plugin | 9.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Lasterror is set.
MidiPlaybackMBS.LoadSoundBankFile(file as folderitem)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS MacOSX Plugin | 8.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This function can load files with .sf2 extension placed in the location: Library/Audio/Sounds/Banks.
Lasterror is set.
To avoid crashes on Mac OS X 10.5, the midi playback is stopped before loading is done and restarted if necessary after loading completed.
As a side effect stopping the midi playback may reset volume, reverb and tuning.
MidiPlaybackMBS.MaxCPULoad as single
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS MacOSX Plugin | 8.7 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns the max CPU load of the graph since this call was last made or the graph was last started.
MidiPlaybackMBS.ReverbVolume as single
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MIDI | MBS MacOSX Plugin | 8.7 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The value range is -120 to 40 dB.
(Read and Write computed property)
MidiPlaybackMBS.SendMidiEvent(Status as Integer, Data1 as Integer, Data2 as Integer, OffsetSampleFrame as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS MacOSX Plugin | 5.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS MacOSX Plugin | 9.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Lasterror is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MIDI | MBS MacOSX Plugin | 9.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Lasterror is set.
As a side effect stopping the midi playback may reset volume, reverb and tuning.
MidiPlaybackMBS.StreamFromDisk as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MIDI | MBS MacOSX Plugin | 8.7 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Currently setting this value can crash the application.
(Read and Write computed property)
MidiPlaybackMBS.Tuning as single
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MIDI | MBS MacOSX Plugin | 8.7 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Value is in cents from -1200 to 1200.
(Read and Write computed property)
MidiPlaybackMBS.UsesInternalReverb as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MIDI | MBS MacOSX Plugin | 8.7 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Lasterror is set.
(Read and Write computed property)
MidiPlaybackMBS.Volume as single
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | MIDI | MBS MacOSX Plugin | 8.7 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The value is in dB from -120 to 40.
(Read and Write computed property)
The items on this page are in the following plugins: MBS MacOSX Plugin.