Output 'y' from wavread(filename): what is it?

I was wondering what exactly is the data stored in two columuns by y. If, for instance, I run y = wavread(a, 44100) (my file has a fs = 44100, so this would mean I am getting all the samples for the first second. Is this right?). So I would imagine y gives me the info, but I don't know exactly what are represented by the two columns). Thanks!

 채택된 답변

Walter Roberson
Walter Roberson 2013년 1월 17일

1 개 추천

The columns represent channels. Usually column 1 is the left channel and column 2 is the right channel.

추가 답변 (2개)

Jan
Jan 2013년 1월 17일

1 개 추천

The values of y are the amplitude, and for stereo files you get 2 columns.
Nuchto
Nuchto 2013년 1월 17일

1 개 추천

Thank you so much!

카테고리

도움말 센터 및 File Exchange에서 Lidar Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by