Before you use audio channels, see Data Acquisition Toolbox Supported Hardware.
Audio Input and Output
Acquire and generate audio signals using one or more device channels
Set up a continuous audio acquisition using a microphone.
Generate audio signals using a 5.1 channel sound system.
Set up continuous audio generation using multiple audio channels. The signal, a sample of Handel's "Hallelujah Chorus", is broken up into contiguous segments and played back in two parts. The first part of the example plays each segment on a single speaker and a sub-woofer. The second part plays each segment on a different set of speakers (a choir of voices).
Create an echometer sonar using audio data acquisition and signal processing, which can measure distance by determining the time of flight of a sound pulse reflected off of a surface.
Create an analog-triggered data acquisition app by using Data Acquisition Toolbox™ and App Designer.
Create an analog-triggered data acquisition app by using Stateflow®, Data Acquisition Toolbox™, and App Designer.
Create an app which acquires data from a DAQ device or sound card, displays a live data view, and logs data to a MAT-file.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office
Get trial now