I need to explore some area around music frequency analysis. A good example is the way Shazam / SoundHound app works (mapping frequency domain, comparing, creating some vector map, handling noises and errors).

I am looking for a while for a practical book or articles about this. By practical i mean with a simple language/code examples, etc.

No Sigmas, and integrals for infinity that takes you back to university.

It's really hard to find any music/audio analysis practical material.

  • $\begingroup$ I'd start with Music Information Retrieval. $\endgroup$
    – Royi
    Commented Dec 31, 2019 at 9:26
  • 1
    $\begingroup$ Um, sorry, to understand spectral analysis, you'll have to do some math. That doesn't have to take you back to the parts of university you didn't enjoy, but honestly, you're asking for an introduction to a very mathematical thing, so there's no way around understanding a few of the tools that the people building that thing used. Look at the article Royi linked to – while it doesn't have any formulas itself, you'll notice that … $\endgroup$ Commented Dec 31, 2019 at 10:16
  • 1
    $\begingroup$ … importantly among the tools used are things like Mel-Frequency Cepstral Coefficients; you'll have a hard time understanding what these are without slinging a few series around, and maybe feeling reminded of a Fourier Integral once or twice or several times. $\endgroup$ Commented Dec 31, 2019 at 10:18
  • $\begingroup$ I actually understand the subject but don’t necessarily need math. I built a “Shazam” for simple music toy that recognize a song only with a simple FFT and some vectors algorithms. By math I mean theoretical, I need practical( FFT can look very hard using math while in reality it’s just a for loop and a basic simple concept.) One math professor Eric Weinstein talked exactly about that :) $\endgroup$
    – hkrlys
    Commented Jan 1, 2020 at 12:38

1 Answer 1


The basic idea is called - Music Finger Printing.

Searching for it will yield many results. I'm attaching few good ones I found:

Reading all those won't teach the exact rigorous Math, but it will give you intuition and tools to start with.

  • $\begingroup$ Thanks so much, that’s a really good start! $\endgroup$
    – hkrlys
    Commented Jan 1, 2020 at 12:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.