Skip to content
This repository has been archived by the owner on Sep 5, 2022. It is now read-only.
/ shazam Public archive
forked from bastos-01/TAI-lab3

TAI Third Assignment - The objective is to use the Normalized Compression Distance (NCD), with multiple compressors, in order to obtain the similarity between a small music sample and every complete music in the dataset. The sample will then be assigned to the one which has the smaller average distance for all the compressors.

Notifications You must be signed in to change notification settings

eduardosantoshf/shazam

 
 

Repository files navigation

TAI Third Assignment

The objective is to use the Normalized Compression Distance (NCD), with multiple compressors, in order to obtain the similarity between a small music sample and every complete music in the dataset. The sample will then be assigned to the one which has the smaller average distance for all the compressors.

Both the report and the video presentation are in the root folder, called "report.pdf" and "presentation.mp4".

Course

This project was developed under the Algorithmic Theory of Information course of University of Aveiro.

Grade

This project's grade was 17 out of 20.

Authors

How to run

main.py

Main program to use.

Example:

$ python3 main.py --sample examples/sample01.wav --threshold 50 --compressor lzma --noise 0.1

tests.py

Program to plot graphics on precision.

$ python3 tests.py

About

TAI Third Assignment - The objective is to use the Normalized Compression Distance (NCD), with multiple compressors, in order to obtain the similarity between a small music sample and every complete music in the dataset. The sample will then be assigned to the one which has the smaller average distance for all the compressors.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 70.7%
  • C++ 24.7%
  • CMake 3.3%
  • Makefile 1.3%