toshsan / audio-fingerprint-identifying-python

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Python 98.6%Language:Makefile 1.4%