How do you Shazam stuff? It’s spectrogram magic. From Audio Melody:
Basically it works like this. The database stores song data about the song’s unique sounds and patterns. Then the app listens to the music, creating an audio fingerprint based on a few seconds of the track. This data is the checked against the database, which matches it to your recording.
This begins with a spectrogram, essentially a graph that has time on the x-axis and frequencies on the y-axis, and amplitude is represented by color. Any sequence of sound can be converted into a spectrogram and there can be an assigned set of coordinates attached to it at any time. Notes turn into numbers. Looking through a database of millions of songs using a detailed spectrogram, there too many data points to look through at any speed.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!
Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi
EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey