Weird result when trying to use wavplay

1 view (last 30 days)
Samyukta
Samyukta on 30 Jan 2013
I used Audacity to convert an mp3 file to a .wav file (import mp3, export .wav) and saved it as Coldplay-Message.wav . then I used
W = wavread('Coldplay-Message');
wavplay(W)
I didn't add the .wav in the filename, but instead of playing the song, it plays this horribly creepy soundtrack, with some creepy voice groaning and some scary music. What happened??

Answers (1)

Walter Roberson
Walter Roberson on 30 Jan 2013
[W, Fs] = wavread('Coldplay-Message');
wavplay(W, Fs)

Tags

Community Treasure Hunt

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

Start Hunting!