Problems with fft on audios
이전 댓글 표시
Hello, for a final project I am doing a menu with the notes do, re and mi. The problem is that when I apply the Fourier transform fft, my spectrum looks very weird. Does anyone know if I'm doing anything wrong? Code: do=audioread('do.wav'); sound(do,44100) nota=audiorecorder(44100,16,1); disp('Grabando...') recordblocking(nota,4) disp('Listo.') bb=getaudiodata(nota); audiowrite('grabacion.wav',bb,88200) audio=audioread('grabacion.wav'); audiof=fft(audio); subplot(2,1,1); plot(audio) subplot(2,1,2); plot(audiof) sound(audio,44100) Image:
댓글 수: 2
Salvador Salas Bonilla
2017년 11월 14일
Jan
2017년 11월 14일
Please format your code using the "{} Code" button, such that it is readable. Attach images directly in the forum using the "Image" button instead of an external file hoster. Thanks.
채택된 답변
추가 답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!