insert mp3 file in matlab

31 views (last 30 days)
arwa
arwa on 2 May 2014
Commented: William Tukes on 13 Sep 2021
How can I add a mp3 file in Matlab ?

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 2 May 2014
Edited: Azzi Abdelmalek on 2 May 2014
You can use audioread function
[y,fs]=audioread('yourfile.mp3')
To play your file
sound(y,fs)
Look at
doc audioread

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!