MATLAB Answers

arwa
0

insert mp3 file in matlab

Asked by arwa
on 2 May 2014
Latest activity Edited by Azzi Abdelmalek
on 2 May 2014
How can I add a mp3 file in Matlab ?

  0 Comments

Sign in to comment.

Tags

1 Answer

Answer by Azzi Abdelmalek
on 2 May 2014
Edited by Azzi Abdelmalek
on 2 May 2014
 Accepted Answer

You can use audioread function
[y,fs]=audioread('yourfile.mp3')
To play your file
sound(y,fs)
Look at
doc audioread

  0 Comments

Sign in to comment.