Linux Fu: Name That Tune

If You are not old enough has remember, THE title of This job refers to has A old game to show Or competitors would be to try has name A adjust using THE the least possible Remarks. What can We say? Entertainment choice were sparse Before THE The Internet. However, using audio fingerprinting, computers are very GOOD has pulling This disabled. THE real issue East having A substantial library of fingerprints has compare with. You can probably Already TO DO This with your phone, And NOW You can TO DO he with your Linux computer.

In all justice, your computer is not it TO DO THE real work. In do, Song recording — THE program In question — East just A customer For Shazam, A service that can identify a lot Songs. While This East gently interesting if You to use A Linux desk, We could Also see using THE even technical with A Raspberry Pi has get a few interesting projects. For example, imagine identify A song playing And setting mood lighting has match. A robot that could display song information could be THE hit of A cheesy party.

THE Coded

If You look In THE deposit, there East A enough simple Python version that only recognize Songs Since audio files. THE main program East more recent, has more choice For handling audio, And uses Rust. However, if You were trying has graft he In your own program, departure with THE older coded could be Easier. Unless, of course, You are Also using Rust.

Below THE Blankets

Shazam subsamples audio has 16 kHz And product four spectrograms. Each spectrogram measures A different band: 250-520 Hz, 520-1,450 Hz, 1450-3500 Hz, And 3,500-5,500 Hz. THE peaks In THE spectrograms should match For THE even song. THE customer send information about THE peaks has different times has THE Shazam database, which Back information about THE song. You can see A explanatory video about how he works below.

According to has A paper about Shazam, if they can detect A live performance, he East A GOOD bet THE interpreter East lip sync has A pre-recorded track Since THE algorithm is not it clever enough has get similar tracks.

In To use

If You to use THE main Song recording executable, You can take files, Or THE program will permanently monitor THE her device of your choice (including your speakers). When he find A song, he will to show You THE album art, THE name, And THE album. You can even export THE results has A CSV file.

Back has Coded

If You look has THE Python coded In signature_format.py, you go see THE frequency bands there. However, A plot of THE work Also occurs In algorithm.py. Most of THE rest of THE Python coded implied manufacturing A API request Or collage pieces together.

THE Rust coded has A similar structure but has a lot additional pieces, as You could to wait for. Generally, However, he is not it that hard has understand.

If You are worried about your audio data be shipped on THE network, relax. THE coded only send THE frequency information, which is not it going has allow anybody has rebuild Nothing. If You to want has see What that could her as, to use THE "Play A Shazam Lure" button. This button will produce audio that Shazam will recognize as THE song. If You recognize THE song Since THE lure, You can probably to understand R2D2, as well.

We have seen audio fingerprinting used For different purposes. Or, You can TO DO A dress that lights up When

Linux Fu: Name That Tune

If You are not old enough has remember, THE title of This job refers to has A old game to show Or competitors would be to try has name A adjust using THE the least possible Remarks. What can We say? Entertainment choice were sparse Before THE The Internet. However, using audio fingerprinting, computers are very GOOD has pulling This disabled. THE real issue East having A substantial library of fingerprints has compare with. You can probably Already TO DO This with your phone, And NOW You can TO DO he with your Linux computer.

In all justice, your computer is not it TO DO THE real work. In do, Song recording — THE program In question — East just A customer For Shazam, A service that can identify a lot Songs. While This East gently interesting if You to use A Linux desk, We could Also see using THE even technical with A Raspberry Pi has get a few interesting projects. For example, imagine identify A song playing And setting mood lighting has match. A robot that could display song information could be THE hit of A cheesy party.

THE Coded

If You look In THE deposit, there East A enough simple Python version that only recognize Songs Since audio files. THE main program East more recent, has more choice For handling audio, And uses Rust. However, if You were trying has graft he In your own program, departure with THE older coded could be Easier. Unless, of course, You are Also using Rust.

Below THE Blankets

Shazam subsamples audio has 16 kHz And product four spectrograms. Each spectrogram measures A different band: 250-520 Hz, 520-1,450 Hz, 1450-3500 Hz, And 3,500-5,500 Hz. THE peaks In THE spectrograms should match For THE even song. THE customer send information about THE peaks has different times has THE Shazam database, which Back information about THE song. You can see A explanatory video about how he works below.

According to has A paper about Shazam, if they can detect A live performance, he East A GOOD bet THE interpreter East lip sync has A pre-recorded track Since THE algorithm is not it clever enough has get similar tracks.

In To use

If You to use THE main Song recording executable, You can take files, Or THE program will permanently monitor THE her device of your choice (including your speakers). When he find A song, he will to show You THE album art, THE name, And THE album. You can even export THE results has A CSV file.

Back has Coded

If You look has THE Python coded In signature_format.py, you go see THE frequency bands there. However, A plot of THE work Also occurs In algorithm.py. Most of THE rest of THE Python coded implied manufacturing A API request Or collage pieces together.

THE Rust coded has A similar structure but has a lot additional pieces, as You could to wait for. Generally, However, he is not it that hard has understand.

If You are worried about your audio data be shipped on THE network, relax. THE coded only send THE frequency information, which is not it going has allow anybody has rebuild Nothing. If You to want has see What that could her as, to use THE "Play A Shazam Lure" button. This button will produce audio that Shazam will recognize as THE song. If You recognize THE song Since THE lure, You can probably to understand R2D2, as well.

We have seen audio fingerprinting used For different purposes. Or, You can TO DO A dress that lights up When

What's Your Reaction?

like

dislike

love

funny

angry

sad

wow