Get the frequency sequence of an audio file

3 ビュー (過去 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 Center および File ExchangeAudio 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