- conference PaceMaker: BackEnd-2016 conference
- slides are on slideshare.net/rodomansky/ok-shazam-la-lalalaa
- Run
$ make clean reset
to clean & init database struct - Run
$ make tests
to make sure that everything is properly configured - Copy some
.mp3
audio files intomp3/
directory - Run
$ make fingerprint-songs
to analyze audio files & fill your db with hashes - Start playing any audio file (from any source) from
mp3/
directory, and run (parallely)$ make recognize-listen seconds=5
- Follow steps 1-4 from the guide above
- To identify audio from a file, instead run
$ make recognize-file file=unknown-audio.mp3
- To identify audio from multiple files, run
$ make recognize-dir dir=unknown-audio-dir
-
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;"