Platforms to show: All Mac Windows Linux Cross-Platform
MidiPlaybackMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | MIDI | MBS MacOSX Plugin | 5.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
With sandbox, you need the com.apple.security.temporary-exception.audio-unit-host entitlement as of September 2013.
see
https://developer.apple.com/library/mac/qa/qa1483/_index.html
See also AVMIDIPlayerMBS class for playing midi files.
- 13 properties
- property FilterNodeHandle as Integer
- property GraphHandle as Integer
- property Inited as boolean
- property Lasterror as Integer
- property OutputNodeHandle as Integer
- property SynthNodeHandle as Integer
- property SynthUnitHandle as Integer
- property InstrumentIDOnChannel(Channel as Integer) as Integer
- property ReverbVolume as single
- property StreamFromDisk as boolean
- property Tuning as single
- property UsesInternalReverb as boolean
- property Volume as single
- 12 methods
- method Callback as Integer
- method Constructor(UsesInternalReverb as boolean=false, AutoStart as boolean=true)
- method CPULoad as single
- method InstrumentCount as Integer
- method InstrumentID(index as Integer) as Integer
- method InstrumentName(index as Integer) as string
- method IsRunning as boolean
- method LoadSoundBankFile(file as folderitem)
- method MaxCPULoad as single
- method SendMidiEvent(Status as Integer, Data1 as Integer, Data2 as Integer, OffsetSampleFrame as Integer)
- method Start
- method Stop
This class has no sub classes.
Some examples using this class:
- /MacCF/MIDI/MIDI Input Synth
- /MacCF/MIDI/Midi Playback Instruments
- /MacCF/MIDI/MIDI Synth Keys
- /MacCF/MIDI/Midiplayback
- /MacCF/MIDI/MidiPlaybackMBS with reverb
- /MacOSX/Play Keys
Blog Entries
- MBS Xojo Plugins, version 25.1pr1
- MacOSX plugin for iOS
- MBS Plugins updated for Xojo 2019r2
- MBS Xojo / Real Studio Plugins, version 13.4pr4
- Sandbox and playing Midi
- MBS Real Studio Plugins, version 11.2pr2
- MBS REALbasic plug-ins version 9.4
Release notes
- Version 25.1
- Improved MidiPlaybackMBS class to raise exceptions if it wasn't initialized properly.
The items on this page are in the following plugins: MBS MacOSX Plugin.
