Installs an audio tap on the bus to record. monitor, and observe the output of the node
- iOS 8.0+
- macOS 10.10+
- tvOS 9.0+
- watchOS 3.0+
The node output bus to which to attach the tap.
The requested size of the incoming buffers. The implementation may choose another size.
nil, attempts to apply this as the format of the specified output bus.
This should only be done when attaching to an output bus which is not connected to another node; an error will result otherwise. The tap and connection formats (if non-
nil) on the specified bus should be identical. Otherwise, the latter operation will override any previously set format.
AVAudio, tap format must be specified as
A block to be called with audio buffers. See
AVAudiofor the block parameters.
Node Tap Block
Only one tap may be installed on any bus. Taps may be safely installed and removed while the engine is running.