|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||AVFoundationNode||MBS AVFoundation Plugin||15.3||Yes||No||No||Yes, macOS only||No|
Notes: Instances of this class are immutable.
- 8 properties
- 6 methods
- method Constructor(format as Integer, sampleRate as Double, channels as Integer, interleaved as Boolean)
- method Constructor(format as Integer, sampleRate as Double, interleaved as Boolean, layout as AVAudioChannelLayoutMBS)
- method Constructor(sampleRate as Double, channels as Integer)
- method Constructor(sampleRate as Double, layout as AVAudioChannelLayoutMBS)
- method Constructor(Settings as Dictionary)
- method isEqual(other as AVAudioFormatMBS) as boolean
- shared method available as boolean
- 5 constants
Common audio formats
A format which is not 16/32bit integer or 32/64bit float.
Native-endian floats. This is the standard format.
Signed 16-bit native-endian integers.
Signed 32-bit native-endian integers.
This class has no sub classes.
Some methods using this class:
- 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)
- AVAudioNodeMBS.inputFormatForBus(busIndex as Integer) as AVAudioFormatMBS
- AVAudioNodeMBS.installTapOnBus(busIndex as Integer, bufferSize as UInt32 = 0, format as AVAudioFormatMBS = nil, tag as Variant = nil)
- AVAudioNodeMBS.outputFormatForBus(busIndex as Integer) as AVAudioFormatMBS
- AVAudioPCMBufferMBS.Constructor(format as AVAudioFormatMBS, frameCapacity as Integer)
Some properties using for this class:
- AVAudioBufferMBS.format as AVAudioFormatMBS
- AVAudioFileMBS.fileFormat as AVAudioFormatMBS
- AVAudioFileMBS.processingFormat as AVAudioFormatMBS
Some events for this class:
- AVAudioNodeMBS.Tap(bus as Integer, bufferSize as UInt32, format as AVAudioFormatMBS, buffer as AVAudioPCMBufferMBS, time as AVAudioTimeMBS, tag as Variant)
Some examples which use this class:
- /AVFoundation/AVAudioEngine/Player with AudioUnit for Level Meter
- /AVFoundation/AVAudioEngine/Show Samples
The items on this page are in the following plugins: MBS AVFoundation Plugin.
MBS Xojo blog