• Stars
    star
    356
  • Rank 119,446 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created over 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

Fingerprint audio files & identify what's playing

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