Platforms to show: All Mac Windows Linux Cross-Platform
Back to AUPlayerMBS class.
AUPlayerMBS.ChannelMap as Integer()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Audio | MBS MacOSX Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The map should have an entry for each input channel and inside the number of the output channel or -1 to keep it silent.
AUPlayerMBS.Data as Memoryblock
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Audio | MBS MacOSX Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The other data properties define what format this data has.
Typically 4 byte floats per sample interleaved for all channels.
AUPlayerMBS.InputEnabled(inputNum as UInt32) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS MacOSX Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Lasterror is set.
(Read and Write computed property)
Some examples using this property:
AUPlayerMBS.InputVolume(inputNum as UInt32) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Audio | MBS MacOSX Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Lasterror is set.
(Read and Write computed property)
Some examples using this property:
AUPlayerMBS.LoadFile(file as folderitem, InputChannels as Integer = 2, OutputChannels as Integer = 2) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Audio | MBS MacOSX Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
InputChannels is the number of channels we want to get back from file reader.
OutputChannels is the number of channels we want to have for output.
Returns true on success or false on failure.
AUPlayerMBS.LoadFileMT(file as folderitem, InputChannels as Integer = 2, OutputChannels as Integer = 2) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Audio | MBS MacOSX Plugin | 14.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The work is performed on a preemptive thread, so this function does not block the application and can yield time to other Xojo threads. Must be called in a Xojo thread to enjoy benefits. If called in main thread will block, but keep other background threads running.
InputChannels is the number of channels we want to get back from file reader.
OutputChannels is the number of channels we want to have for output.
Returns true on success or false on failure.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Audio | MBS MacOSX Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Lasterror is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Audio | MBS MacOSX Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Lasterror is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Audio | MBS MacOSX Plugin | 14.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Useful after changing options.
AUPlayerMBS.setChannelMap(values() as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Audio | MBS MacOSX Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The map should have an entry for each input channel and inside the number of the output channel or -1 to keep it silent.
AUPlayerMBS.updateEQ(eqBands() as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Audio | MBS MacOSX Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Please pass array of 32 values from -12 to 12.
Lasterror is set.
See also:
Some examples using this method:
AUPlayerMBS.updateEQ(eqBands() as single)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Audio | MBS MacOSX Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Please pass array of 32 values from -12 to 12.
Lasterror is set.
See also:
The items on this page are in the following plugins: MBS MacOSX Plugin.