Reading audio

1 view (last 30 days)
i Venky
i Venky on 16 Oct 2011
I recorded my voice and then converted that file to .wav format.
then I did the following
y=wavread('filename'); sound(y);
But I couldn't hear my voice. What is the problem?

Accepted Answer

Walter Roberson
Walter Roberson on 16 Oct 2011
Difficult to say. You might not have a speaker or sound card connected, or its volume might not be up high enough or it might be muted.
Or perhaps you should be using
[y,fs] = waveread('filename');
sound(y,fs);
  2 Comments
i Venky
i Venky on 16 Oct 2011
When I played it separately using winamp I can hear my voice.
i Venky
i Venky on 16 Oct 2011
Thanks Walter. That worked.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!