Forums » Bugs & Problems Search

track/upload how it should work ? New Reply

Author Post
Posts: 12
Registered: Jan 17, 2012

Hi,

I start uploading a track, I waited until the analysis status was completed and then I expect to get something like song_id, some link between my own song and the the song in your database, but I didn't get anything like that, it is ok ? By the way I do get the right artist and the right title.

How track/upload is suppose to work ?

Posts: 105
Registered: Feb 22, 2011

siscia,

At a minimum you should get back a track "profile" structure with audio_summary like this:

{"response": {"status": {"version": "4.2", "code": 0, "message": "Success"},
"track": {"status": "complete", "song_id": "SONQXAH12A8C138A08", "audio_md5": "273878cb5969de53cec16ac29b6bfc02",
"artist": "Caroline", "title": "Winter", "artist_id": "AR7ATCH1187B98CBB2", "analyzer_version": "3.1.0_beta_5",
"release": "Murmurs", "samplerate": 22050, "bitrate": 128, "id": "TRMWTYQ13608C04D47",
"audio_summary": {"time_signature": 4,
"analysis_url": "https://echonest-analysis.s3.amazonaws.com/TR/TRMWTYQ13608C04D47/3/full.json?Signature=1dOVpGmEBXahgyJSW5LLllBL4Mo%3D&Expires=1341515316&AWSAccessKeyId=AKIAJRDFEY23UEVW42BQ",
"energy": 0.23827269527622538, "tempo": 100.152, "speechiness": 0.033210739275652046, "danceability": 0.23956970409555006, "key": 4, "duration": 288.08049999999997, "loudness": -13.387, "mode": 1}, "md5": "0d6296603131c3710634de8a2d0538ab"}}}

The most valuable part of this is the "id" ("id": "TRMWTYQ13608C04D47"). This is a unique ID for your track in The Echo Nest platform. If we were able to match your track to a song we know, we return that in the "song_id" field. If we don't match the song, we extract the metadata (artist, title, release) from the audio file (if present) and return that.

Thanks! ~David

Posts: 12
Registered: Jan 17, 2012

Hummm ok, I see.

It's sound weird, anyway, sometimes I upload very famous songs Maroon 5 and you don't recognize it...

As the time pass and you add new song in the db, are you rechecking the old upload so that maybe a song without a song_id totady will get one tomorrow or in order to do that I should re-upload the song ???

Posts: 105
Registered: Feb 22, 2011

siscia,

Can you tell me the track ID you get back for your upload? I can check on the song matching for it. Yes, we do continually get new songs. You can always call track/analyze any time to get the latest analysis and song matching for that track ID without uploading it again.

~David

Posts: 12
Registered: Jan 17, 2012

Yes, I will, but I need time (one week) ... I am out and I don't have my computer...

Posts: 12
Registered: Jan 17, 2012

Sorry, but after that I saw how your company treat developers like me (I don't just report bug to help improving your platform but I also developed API for echonest and released it as open source and you don't even reply at my email) I decide to stop any relationship.

I would be happy to clarified everything in a private way by email.

Posts: 171
Registered: Sep 05, 2008

siscia: is there a forum post of yours we haven't responded to? Please let us know where it is...

Posts: 12
Registered: Jan 17, 2012

I should have fix it, I am sorry my reaction was too much...

By the way

{:response {:status {:version "4.2", :code 0, :message "Success"}, :track {:status "complete", :audio_md5 "a02d45a7d3d9b9e29343f9b642e4e7ec", :artist "Maroon 5", :samplerate 44100, :audio_summary {:danceability 0.6354987194398882, :loudness -7.077, :duration 230.67537, :time_signature 4, :key 11, :analysis_url "https://echonest-analysis.s3.amazonaws.com/TR/TRPIYYY1372839546F/3/full.json?Signature=2wDHN3esA9TU8WDTVPhbvv2Hpxg%3D&Expires=1342471552&AWSAccessKeyId=AKIAJRDFEY23UEVW42BQ", :energy 0.7475852625182258, :speechiness 0.15476447532245124, :mode 0, :tempo 127.981}, :title "Moves Like Jagger (Sex Ray Vision Remix)", :analyzer_version "3.1.0_beta_5", :bitrate 320, :id "TRPIYYY1372839546F", :md5 "44cadacdae7d5331962fd9b2fd35b8ef"}}}

I guess that the platform recognized the song "Moves Like Jagger" by Maroon 5 (it is pretty famous, doesn't it ?), but I don't see the field "song_id"...

I get the md5 that should be enough, but the inconsistency between md5 and id is a lot...

Posts: 105
Registered: Feb 22, 2011

siscia,

Yes, "Moves Like Jagger" is pretty famous; so famous, in fact, that we have six versions in our database:

http://developer.echonest.com/api/v4/song/search?api_key=N6E4NIOVYMTHNDM8J&title=moves%20like%20jagger&artist=maroon%205

including studio version, radio edit, and remixes. Each of these is a different "song" since it sounds a little different and has a different duration. Your track claims to be yet another version ("Sex Ray Vision Remix"). We do not have this version in our song database, but we are always getting new tracks, so perhaps we will soon.

The artist and title returned in the track/upload response is extracted from the metadata in the audio file, not from a song match.

Hope this helps! Thanks for using The Echo Nest.

~David

Posts: 12
Registered: Jan 17, 2012

Ah ok, that makes sense.

Thanks a lot ;-)

Reply to this Thread

You must log in to post a reply.