Filter löschen
Filter löschen

Get the frequency sequence of an audio file

1 Ansicht (letzte 30 Tage)
Lochana Prasadi
Lochana Prasadi am 12 Mär. 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.

Akzeptierte Antwort

Star Strider
Star Strider am 12 Mär. 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.

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by