Platforms to show: All Mac Windows Linux Cross-Platform
AVAudioNodeMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | AVFoundationNode | MBS AVFoundation Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVAudioEngine objects contain instances of various AVAudioNode subclasses. This base class provides certain common functionality.
Nodes have input and output busses, which can be thought of as connection points. For example, an effect typically has one input bus and one output bus. A mixer typically has multiple input busses and one output bus.
Busses have formats, expressed in terms of sample rate and channel count. When making connections between nodes, often the format must match exactly. However, there are exceptions such as the AVAudioMixerNode and AVAudioOutputNode classes.
Nodes do not currently provide useful functionality until attached to an engine.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- event Tap(bus as Integer, bufferSize as UInt32, format as AVAudioFormatMBS, buffer as AVAudioPCMBufferMBS, time as AVAudioTimeMBS, tag as Variant)
- 8 properties
- property AUAudioUnitHandle as Integer
- property engine as AVAudioEngineMBS
- property Handle as Integer
- property lastRenderTime as AVAudioTimeMBS
- property latency as Double
- property numberOfInputs as Integer
- property numberOfOutputs as Integer
- property outputPresentationLatency as Double
- 8 methods
- method Constructor Private
- method inputFormatForBus(busIndex as Integer) as AVAudioFormatMBS
- method installTapOnBus(busIndex as Integer, bufferSize as UInt32 = 0, format as AVAudioFormatMBS = nil, tag as Variant = nil)
- method nameForInputBus(busIndex as Integer) as string
- method nameForOutputBus(busIndex as Integer) as string
- method outputFormatForBus(busIndex as Integer) as AVAudioFormatMBS
- method removeTapOnBus(busIndex as Integer)
- method reset
- shared method available as boolean
Sub classes:
- class AVAudioEnvironmentNodeMBS
- class AVAudioIONodeMBS
- class AVAudioMixerNodeMBS
- class AVAudioPlayerNodeMBS
- class AVAudioUnitMBS
Some methods using this class:
- AVAudioEngineMBS.attachedNodes as AVAudioNodeMBS()
- AVAudioEngineMBS.attachNode(node as AVAudioNodeMBS)
- AVAudioEngineMBS.connect(node1 as AVAudioNodeMBS, node2 as AVAudioNodeMBS, bus1 as Integer, bus2 as Integer, format as AVAudioFormatMBS)
- AVAudioEngineMBS.connect(node1 as AVAudioNodeMBS, node2 as AVAudioNodeMBS, format as AVAudioFormatMBS)
- AVAudioEngineMBS.detachNode(node as AVAudioNodeMBS)
- AVAudioEngineMBS.disconnectNodeInput(node as AVAudioNodeMBS)
- AVAudioEngineMBS.disconnectNodeInput(node as AVAudioNodeMBS, bus as Integer)
- AVAudioEngineMBS.disconnectNodeOutput(node as AVAudioNodeMBS)
- AVAudioEngineMBS.disconnectNodeOutput(node as AVAudioNodeMBS, bus as Integer)
Some examples using this class:
- /AVFoundation/AVAudioEngine/Player
- /AVFoundation/AVAudioEngine/Player with AudioUnit for Level Meter
Blog Entries
- News from the MBS Xojo Plugins Version 22.3
- [ANN] MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 15.3
The items on this page are in the following plugins: MBS AVFoundation Plugin.
AVAudioMixMBS - AVAudioOutputNodeMBS