MATLAB Answers

Samyukta

Weird result when trying to use wavplay

Asked by 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??

  0 Comments

Tags

Products

No products are associated with this question.

1 Answer

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

  0 Comments


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today