My interpretation of Shazam`s algoritm http://www.ee.columbia.edu/~dpwe/papers/Wang03-shazam.pdf