I'm developing an application to recognize the music played by speakers. It records 32 seconds of the sound played and send a request via an API of music recognition. So far I used Echonest. But my api_key has been banned because of too many requests since I published my freeware, used by more than 200 users.
So I looked at MusicBrainz but it needs the exact duration of the entire song to receive an acceptable response, duration that my application can't guess.
So I'm looking for a free music recognition API so my freeware works. Do you know one?
Note: I used Echonest by :
- capturing 32 seconds with ffmpeg
sending this command via cURL :
curl -F "api_key=XXX" -F "filetype=mp3" -F "[email protected]" "http://developer.echonest.com/api/v4/track/upload" > info.txt
I tried to use MusicBrainz by :
- capturing 32 seconds with ffmpeg
generating the fingerprint using Chromaprint with this command :
fpcalc sound.mp3 > fingerprint.txt
sending this command via cURL :
curl -F "client=XXX" -F "meta=recordings" -F "duration=32" -F "fingerprint=ABC" "http://api.acoustid.org/v2/lookup" > info.txt