Compare two spectogram to find the offset where they match algorithm

后端 未结 4 1259
抹茶落季
抹茶落季 2020-12-30 15:35

I record a daily 2 minutes radio broadcast from Internet. There\'s always the same starting and ending jingle. Since the radio broadcast exact time may vary from more or les

4条回答
  •  粉色の甜心
    2020-12-30 15:54

    There's a description of the algorithm used by the shazam service (which identifies a music given a short possibly noisy sample) here : http://www.ee.columbia.edu/~dpwe/papers/Wang03-shazam.pdf
    From what I understood, the first thing done is to isolate peaks in the spectrogram (with some tweaks to assure an uniform coverage), which will give a "constellation" of pair of values (time;frequency) from the initial spectrogram. Once done, the sample constellation is compared to the constellation of the full track by translating a window of the sample length from the beginning to the end and counting the number of correlated points.
    The paper then describes the technical solution they found to be able to do the comparison fast even with a huge collection of tracks.

提交回复
热议问题