MATLAB sound - code example

MATLAB sound code example - acquiring audio data into MATLAB
22.7K Downloads
Updated 1 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 (2024). 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
Categories
Find more on Audio I/O and Waveform Generation in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.1

Updated license

1.1.0.0

Added BSD License

1.0.0.0

Updated description