MATLAB sound - code example
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Run length Encoding, Run length Decoding, Channel coding techniques, TDMA basd MANET, Binery Digital Modulation Technique, frequency_domain_filtering.zip, Smart Antenna Based Mobile Ad-hoc Network
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.