Audio I/O and Waveform Generation
Audio Toolbox™ enables real-time audio input and output. Using the enhanced
functionality of Audio Toolbox audio I/O, you can interact with the low-latency ASIO™ driver on Windows®, selectively map to and from device channels, and control your
device bit depth. To manage a database of audio files, use audioDatastore
.
You can also generate tunable periodic waveforms to create test signals, control signals, and your own unique sounds.
Apps
Audio Viewer | View and play audio signals (Since R2024a) |
Functions
Blocks
Audio Device Reader | Record from sound card |
Audio Device Writer | Play to sound card |
From Multimedia File | Stream from multimedia file |
To Multimedia File | Stream video frames and audio samples to multimedia file |
Wavetable Synthesizer | Generate periodic signal from single-cycle waveforms (Since R2020a) |
Audio Oscillator | Generate sine, square, and sawtooth waveforms (Since R2020a) |
Colored Noise | Generate colored noise signal |
Topics
- Real-Time Audio in MATLAB
Create a script to process and analyze real-time audio signals.
- Audio I/O: Buffering, Latency, and Throughput
Learn key terminology and basic techniques for optimizing stream processing algorithms.
- Plot Large Audio Files
Plot large audio files in MATLAB using the audio envelope.