capture
Capture data from audio device connected to Raspberry Pi
Description
captures data from the audio input device connected to the Raspberry Pi® hardware. This function uses the Advanced Linux Sound Architecture (ALSA)
driver framework to read audio data.data = capture(audioCaptureObj)
Simulating this function results in an error. The function is supported only for deployment.
Note
To generate C/C++ code for this function, you must have an Embedded Coder® license.
To capture audio data with more than two channels, you must have Audio Toolbox™ license.
Examples
Input Arguments
Output Arguments
Limitations
MATLAB Connected I/O on the capture function is not
supported.
Extended Capabilities
Version History
Introduced in R2015b
