Before you use audio channels, see Supported Hardware.
To learn how to create a session and acquire or generate multichannel
audio, see the Multichannel Audio Input and Output Workflow .
Multichannel Audio Input and Output
Acquire and generate audio signals using one or more device channels
Set up a continuous audio acquisition. This example uses a two-channel microphone.
Generate audio signals using a Session. This example uses, but does not require, a 5.1 channel sound system.
Set up continuous audio generation using multiple audio channels in a session. 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 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