#!/usr/bin/env python
"""
Binary task of cover song identification using the Millions Song Dataset 
and the Second Hand Song dataset.

It takes the Million Song Dataset path as an argument. 

The list of queries to test must be located in:
./SHS/list_500queries.txt

The training set of the Second Hand Song dataset must be located in:
./SHS/shs_dataset_train.txt

Please, read the README.md file for more info on how to run this code.

References:
Bertin-Mahieux, T., & Ellis, D. P. W. (2012). Large-Scale Cover Song 
Recognition Using The 2D Fourier Transform Magnitude. In Proc. of the 13th 
International Society for Music Information Retrieval Conference (pp. 241-246).
Porto, Portugal.

Humphrey, E. J., Nieto, O., & Bello, J. P. (2013). Data Driven and 
Discriminative Projections for Large-Scale Cover Song Identification. 
In Proc. of the 14th International Society for Music Information Retrieval 
Conference. Curitiba, Brazil.

Created by Thierry Bertin-Mahieux (tb2332@columbia.edu)
Modified by Uri Nieto (oriol@nyu.edu)

----
This code is distributed under the GNU LESSER PUBLIC LICENSE 
(LGPL, see www.gnu.org).

Copyright (c) 2012-2013 MARL@NYU.
All rights reserved.

Redistribution and use in source and binary forms, with or without