image thumbnail

MATLAB sound - code example

version 1.1.0.1 (1.99 KB) by Steven Kolak
MATLAB sound code example - acquiring audio data into MATLAB

22.6K Downloads

Updated 01 Sep 2016

View License

MATLAB supports sound acquisition and generation using Data Acquisition Toolbox.
This MATLAB code example shows you to acquire two seconds of audio data from a sound card, calculate the frequency components, and plot the results.

Use the "Save and Publish to HTML" button in the MATLAB Editor to execute this example and automatically generate a report of this work.

Learn more about using MATLAB with sound cards at:
http://www.mathworks.com/sound

Cite As

Steven Kolak (2021). MATLAB sound - code example (https://www.mathworks.com/matlabcentral/fileexchange/12378-matlab-sound-code-example), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!