Get the frequency sequence of an audio file
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello all,
I have an audio signal of a piano melody (.wav) and would like to get the frequency sequence of that to matlab command window. I don't want to plot the graph. Can anybody help me in this manner?
Thanks in advance.
댓글 수: 1
채택된 답변
Star Strider
2016년 3월 12일
Use the spectrogram function with outputs.
From the documentation:
- [s,f,t] = spectrogram(_,fs) returns a vector of cyclical frequencies, f, expressed in terms of the sample rate, fs.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio and Video Data에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!