problem in importing an audio file

here's a code.. y=wavread('funky.wav'); [funky,f]=wavread('funky.wav'); wavplay(funky,f); subplot(2,1,1); plot(funky); title('Entire waveform'); smallRange = 100000:100000+floor(f/100); subplot(2,1,2); plot(smallRange); funky(smallRange); title('100 milliseconds');
an error is coming..need help.. error- Error in ==> noise at 1 y=wavread('funky.wav');
file name is noise

댓글 수: 1

Jan
Jan 2011년 7월 4일
Please use the "{} Code" button to format the code. Follow the lin "Markup" on this page.

댓글을 달려면 로그인하십시오.

 채택된 답변

Paulo Silva
Paulo Silva 2011년 7월 4일

0 개 추천

Make sure that the file is accessible by MATLAB. See if the path is on the directories list. You can also put the complete path to the file as argument for wavread.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by