Effacer les filtres
Effacer les filtres

Get the frequency sequence of an audio file

1 vue (au cours des 30 derniers jours)
Lochana Prasadi
Lochana Prasadi le 12 Mar 2016
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 commentaire
Divyamshu Surabhi
Divyamshu Surabhi le 13 Fév 2019
do you know how to get the graph? if so how ?

Connectez-vous pour commenter.

Réponse acceptée

Star Strider
Star Strider le 12 Mar 2016
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.

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by