Skip to content

The Shazam-similar app, that identify the song using audio fingerprints & spectrum analysis and Fast Fourier transform

License

Notifications You must be signed in to change notification settings

bearcatjamboree/audio-fingerprint-identifying-python

 
 

Repository files navigation

Fingerprint audio files & identify what's playing

Note

This fork was modified to work with Python 3 and is tested and appears to function correctly on Mac M1 with Python 3.11.1

Installation

  1. git clone https://github.com/bearcatjamboree/audio-fingerprint-identifying-python.git
  2. pip install -r requirements.txt

How to set up

  1. Run $ make clean reset to clean & init database struct
  2. Run $ make tests to make sure that everything is properly configurated
  3. Copy some .mp3 audio files into mp3/ directory
  4. Run $ make fingerprint-songs to analyze audio files & fill your db with hashes
  5. Start play any of audio file (from any source) from mp3/ directory, and run (parallely) $ make recognize-listen seconds=5

How to

  • To remove a specific song & related hash from db

    $ python sql-execute.py -q "DELETE FROM songs WHERE id = 6;"
    $ python sql-execute.py -q "DELETE FROM fingerprints WHERE song_fk = 6;"

Thanks to

About

The Shazam-similar app, that identify the song using audio fingerprints & spectrum analysis and Fast Fourier transform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.6%
  • Makefile 1.4%