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 AVMIDIPlayerMBS class.
AVMIDIPlayerMBS.Constructor(Data as MemoryBlock, SoundBankFile as FolderItem = nil, byref error as NSErrorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Midi | MBS AVFoundation Plugin | 16.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Data: The data to play.
SoundBankFile: The folderitem of the sound bank. The sound bank must be a SoundFont2 or DLS bank.
Error: Returns, by-reference, a description of the error, if an error occurs.
For OS X the bank folderitem can be set to nil to use the default sound bank. However, iOS must always refer to a valid bank file.
See also:
AVMIDIPlayerMBS.Constructor(Data as String, SoundBankFile as FolderItem = nil, byref error as NSErrorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Midi | MBS AVFoundation Plugin | 16.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Data: The data to play.
SoundBankFile: The folderitem of the sound bank. The sound bank must be a SoundFont2 or DLS bank.
Error: Returns, by-reference, a description of the error, if an error occurs.
For OS X the bank folderitem can be set to nil to use the default sound bank. However, iOS must always refer to a valid bank file.
See also:
AVMIDIPlayerMBS.Constructor(File as FolderItem, SoundBankFile as FolderItem = nil, byref error as NSErrorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Midi | MBS AVFoundation Plugin | 16.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
File: The file to play.
SoundBankFile: The folderitem of the sound bank. The sound bank must be a SoundFont2 or DLS bank.
Error: Returns, by-reference, a description of the error, if an error occurs.
For OS X the bank folderitem can be set to nil to use the default sound bank. However, iOS must always refer to a valid bank file.
See also:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Midi | MBS AVFoundation Plugin | 16.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Midi | MBS AVFoundation Plugin | 16.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
If prepareToPlay has not been invoked, play may be delayed while the events are prerolled.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Midi | MBS AVFoundation Plugin | 16.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This happens automatically on play if it has not already been called, but may produce a delay in startup.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Midi | MBS AVFoundation Plugin | 16.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The items on this page are in the following plugins: MBS AVFoundation Plugin.