446 points · by billconan · 11y ago · 48 comments
[1] https://soundcloud.com/sample_noise/shazuffle-ii-shazam-me
It's sad that we live in this sort of legal climate.
Since this paper was written in 2003, I wouldn't be surprised if they have changed their algorithms since this time.
But from my understanding, the 2003 paper describes a highly scalable architecture and a noise tolerant and "time efficient" algorithm (that can be modified using thresholds) so it could still work in 2015 with a few optimizations. Still, I'm not working at Shazam and I'm not a researcher so I could be wrong.
[x, sr] = wavread('rick.wav');
x_mono = mean(x,2);
X = specgram(x_mono, nfft, sr);
Y = X >= imdilate(X, ones(mask_size), 'same');
y = ispecgram(Y, nfft, sr);
% wavwrite(y, sr, 'roll.wav');
params: nfft, masksize (tuple)[1] http://github.com/tbertinmahieux/MSongsDB/blob/master/Matlab...
However, Shazam corporate doesn't seem very nice:
http://www.royvanrijn.com/blog/2010/07/patent-infringement/
With such a nice write-up, you probably already know this. :/
The video here from Monty Montgomery of xiph.org does a nice job of explaining things without in a way that reduces the confusion.
http://www.cs.uu.nl/groups/AA/multimedia/publications/pdf/is... (A SURVEY OF MUSIC INFORMATION RETRIEVAL SYSTEMS)
Or a longer PDF:
It's clearly incomplete, but perhaps it might help someone. Pull requests are welcome.
https://news.ycombinator.com/item?id=1702975 https://news.ycombinator.com/item?id=909263
To a lesser extent: https://news.ycombinator.com/item?id=6683866
Also - how does Shazam makes money?
http://www.theatlantic.com/magazine/archive/2014/12/the-shaz...
May be Shazam has direct relations with major music brands who'll pay for each successful search.
To answer the previous question, I'd assume part of their revenue comes from big music labels: knowing what songs are about to go big (before anybody else realizes it), from where their popularity originates, and lot more, is invaluable for them.
Siri uses Shazam to identify songs (as of iOS 8) [1]
[1] http://appleinsider.com/articles/14/09/19/siri-partners-with...
http://www.billboard.com/biz/articles/news/digital-and-mobil...