how to read a period of wav file in matlab?
1 回表示 (過去 30 日間)
古いコメントを表示
I need to read a wav file with cycle, period by period. I need help in this task.
0 件のコメント
採用された回答
Wayne King
2012 年 9 月 18 日
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.
0 件のコメント
その他の回答 (1 件)
Thomas
2012 年 9 月 18 日
Try the wavread function
doc wavread
If this does not answer your question please be more specific in your question..
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Spectral Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!