playing an under-sampled .wav music in matlab

조회 수: 4 (최근 30일)
Bahareh
Bahareh 2011년 10월 19일
Hello all,
I've undersampled a .wav music and would like to play it in Matlab to hear the effect of aliasing. Can you please guide me?
Thank you.

채택된 답변

Honglei Chen
Honglei Chen 2011년 10월 19일
You can use wavread to read in your wave file and then use audioplayer to play it. Or if you have the downsampled music already in a variable, you can directly pass it to audioplayer. See the following documentation and there is an example
alternatively, you can launch the doc from MATLAB
doc audioplayer
doc wavread
HTH

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by