Main Content
Audio Playback
Libraries:
SoC Blockset /
Processor I/O
Description
The Audio Playback block simulates behavior of the driver code that plays audio to an audio output, such as a speaker, on a hardware board. The output of this block must be connected to an Audio Playback Interface block that simulates a physical audio device on the hardware board. Place this block inside a task and connect to an algorithm to output a frame of audio samples each time the task executes. For more information on tasks, see Timer-Driven Task and Event-Driven Tasks.
Ports
Input
Output
Parameters
Extended Capabilities
Version History
Introduced in R2021a
See Also
Hardware Mapping | Audio Capture Interface | Audio Playback Interface | Audio Capture