Forums » General Discussion Search

Analysed Data --> Streamed Audio New Reply

Author Post
Posts: 3
Registered: Aug 27, 2011

Hi EN team - you guys rawk*!

Thanks for provinding such a excellent set of audio programming tools. It's people like you that make ordinary life so exciting and provide inspiration to thousands of people! So, big-up yourselves. Hopefully that was a nice first post intro too :)

My questions is this: Once an mp3 has been uploaded for finger-print audio analysis, is this data retrieveable to offer some form of web-based audio sample? If so, what options are possible, If no, bummer. At least I asked.

Thanks in advance,

Rich.

Posts: 713
Registered: Sep 08, 2008

Hi Pilch - when you upload a track for analysis, we will fingerprint the track and try to identify it. If we find a match, and the match happens to be in one of our partner catalogs (such as 7digital) that offers 30 second previews, then you can retrieve a preview. Here's an example:

After you upload a track for analysis you get a track id. You can query for the info about the track with a call such as:

http://developer.echonest.com/api/v4/track/profile?api_key=N6E4NIOVYMTHNDM8J&format=json&id=TRXXHTJ1294CD8F3B3&bucket=audio_summary

This will return the song ID if we matched the track like so:

song_id: "SOHPNBJ12AB018242F"

You can use that song ID to retrieve the 7Digital-US track info with a call like so:

http://developer.echonest.com/api/v4/track/profile?api_key=N6E4NIOVYMTHNDM8J&format=json&id=TRXXHTJ1294CD8F3B3&bucket=audio_summary

Which includes a link to a 30 second preview like so:

preview_url: "http://previews.7digital.com/clips/34/7270832.clip.mp3"

Hope this helps.

Paul

Reply to this Thread

You must log in to post a reply.