Filter löschen
Filter löschen

how to read a period of wav file in matlab?

1 Ansicht (letzte 30 Tage)
Áron Laczkovits
Áron Laczkovits am 18 Sep. 2012
I need to read a wav file with cycle, period by period. I need help in this task.

Akzeptierte Antwort

Wayne King
Wayne King am 18 Sep. 2012
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.

Weitere Antworten (1)

Thomas
Thomas am 18 Sep. 2012
Try the wavread function
doc wavread
If this does not answer your question please be more specific in your question..

Community Treasure Hunt

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

Start Hunting!

Translated by