Forums » General Discussion Search

Track Information New Reply

Author Post
Posts: 1
Registered: Jun 12, 2012

Hi there! I'm starting with this amazing project right now. I'm trying to get data from the analyze endpoint. I have a few thousand songs to analyze, so instead of trying to upload a big amount of data (around 15gb) I was wondering if its possible to get data this is probably previously analyzed. I tried to use the Song id of my songs but i could not get a match for any. Do I really need to upload every file to get the information?

Regards

Posts: 1112
Registered: Sep 08, 2008

Hi Viniciusccarvalho - You can get analysis data for any of the many millions of songs that we've already analyzed. If you have a track ID (such as a Rosetta ID from Spotify, Rdio or 7Digital) you can get the analysis data for that exact audio like so:

track/profile with a 7digital-US track ID

The returned audio summary has an analysis_url that points to the full detailed analysis.

If you have the song artist and title you can similarly get the analysis. Of course, if there are many versions of a song we are likely to return an audio summary and analysis for a different version than the one you have. Here's an example of getting the audio summary given an artist and title:

Song search for Karma Police

Again, the returned audio_summary has an analysis_url that points to the detailed analysis.

If you want to make sure that the analysis is an exact match for your audio, you have two options. First, query for the analysis using an MD5 of the audio file,like so:

query by md5

However, this is a pretty unreliable approach since we internally only map one MD5 to an audio track, where in reality, due to encoding errors, bit errors and metadata differences, a single track could have many possible MD5s.

The better way is to use audio fingerprinting. You can use ENMFP or Echoprint to generate an audio fingerprint for each of your tracks. You can then query for the song details with the song/identify query.

Hope this helps.

Paul

Reply to this Thread

You must log in to post a reply.