how to read a period of wav file in matlab?

 채택된 답변

Wayne King
Wayne King 2012년 9월 18일

0 개 추천

If you use wavread, you can use an argument to read a range of samples. You would have to increment that in a loop.
The same is true of audioread.m
[y,fs] = wavread(filename,[start end]);
If have the DSP System Toolbox, then the task is easier with System objects. See dsp.AudioFileReader and set the SamplesPerFrame property.

추가 답변 (1개)

Thomas
Thomas 2012년 9월 18일

0 개 추천

Try the wavread function
doc wavread
If this does not answer your question please be more specific in your question..

카테고리

도움말 센터File Exchange에서 Signal Generation, Manipulation, and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by