I am working on an application to classify Talas(a piece of music with onsets). For that, I have the spectrogram of a Tala, which I want to compare with the test Tala, or compare 2 Talas.
For this I intend to find the onsets in the spectrogram and then form a classifier based on the frequencies that I get at the onset points in the Tala.
Now as we already know that a spectrogram contains multiple frequencies for a time t
, I wish to quantify this as a single value to be used in machine learning, so that I have n
values for the n
onsets(say), and not multiple frequency values for the same time t
.
So here is my question - Given all the frequencies at time t
, how can I get a value that represents all these frequencies(like mean, median, etc). What should be the measure I should go ahead with?