Get the frequency sequence of an audio file

조회 수: 5 (최근 30일)
Lochana Prasadi
Lochana Prasadi 2016년 3월 12일
댓글: Divyamshu Surabhi 2019년 2월 13일
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
Divyamshu Surabhi
Divyamshu Surabhi 2019년 2월 13일
do you know how to get the graph? if so how ?

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

채택된 답변

Star Strider
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개)

카테고리

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