Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Audio I/O and Waveform Generation

Record and play audio from devices, read and write audio files, generate waveforms

Audio System Toolbox™ blocks and System objects enable real-time audio input and output. Using the enhanced functionality of Audio System 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.

You can also generate tunable periodic waveforms to create test signals, control signals, and your own unique sounds.

Functions

asiosettingsOpen settings panel for ASIO driver
getAudioDevicesList available audio devices

System Objects

audioPlayerRecorderSimultaneously play and record using an audio device
audioDeviceReaderRecord from sound card
dsp.AudioFileReaderStream from audio file
audioDeviceWriterPlay to sound card
dsp.AudioFileWriterStream to audio file
audioOscillatorGenerate sine, square, and sawtooth waveforms
wavetableSynthesizerGenerate periodic signal from single-cycle waveforms

Blocks

Audio Device ReaderRecord from sound card
From Multimedia FileStream from multimedia file
Audio Device WriterPlay to sound card
To Multimedia FileStream video frames and audio samples to multimedia file

Concepts

Audio I/O: Buffering, Latency, and Throughput

Learn key terminology and basic techniques for optimizing stream processing algorithms.

Sample Audio Files

Audio files for comparative algorithm testing.

Featured Examples

Was this topic helpful?