I was at Music Hack Day: Philadelphia and remember seeing a presentation about Echonest's new song valence method. However, I cannot find any information about it on the API Documentation. Was this feature deprecated? I am kind of banking on this feature being available for a senior project, so it would really suck if it was.
Is song valence still available?
Is song valence still available?
Kstensland92,
The valence attribute is available on all songs as well as uploaded tracks when you get the profile with a "bucket=audio_summary" parameter. You can also use min and max valence in song/search calls like so:
http://developer.echonest.com/api/v4/song/search?api_key=API_KEY&format=json&results=10&artist=radiohead&min_valence=0.8&bucket=audio_summary&sort=valence-desc
(Note that Radiohead's highest valence song is called "Optimistic".)
The search usage is not documented yet as we've been reviewing and revising our model for valence, but that could be changing soon. Rest assured it is not going away.
To get valence for an uploaded track, call track/profile with the "bucket=audio_summary" parameter.
David
Is song valence still available?
Thanks David. This is extremely helpful.
Will the key chord detection algorithm get improved in the future ?
Hello,
Currently the detection algorithm does not always return the correct key for some tracks.
Can we expect some improvements about in the future ?
Thank you.
Buckets causing "unknown error"
There are calls I'm making that have worked fine until today. For some reason I'm getting an unknown error response. It seems that it occurs as soon as I introduce any bucket parameter. A simple call for the profile with any bucket fails and gives me the error.
Just confused because the requests have worked perfectly in the past. Any suggestions?
Thanks!
Buckets causing "unknown error"
Hi chris.dixon. Can you provide the request you're sending and the response you're getting?
-Eli
Buckets causing "unknown error"
Request: http://developer.echonest.com/api/v4/artist/profile?api_key=APIKEY&bucket=news&bucket=blogs&bucket=artist_location&bucket=images&bucket=songs&bucket=genre&bucket=urls&bucket=years_active&bucket=terms&bucket=discovery&bucket=hotttnesss&bucket=familiarity&bucket=discovery_rank&bucket=hotttnesss_rank&bucket=familiarity_rank&format=json&id=ARYVZHB1271F573F3F
Response: {"response": {"status": {"version": "4.2", "code": -1, "message": "Unknown error"}}}
Even an example from the API Method page doesn't work: http://developer.echonest.com/api/v4/artist/profile?api_key=APIKEY&id=ARH6W4X1187B99274F&format=json&bucket=biographies&bucket=blogs&bucket=familiarity&bucket=hotttnesss&bucket=images&bucket=news&bucket=reviews&bucket=terms&bucket=urls&bucket=video&bucket=id:musicbrainz
I double checked the API Key and it matches up to what's assigned on my profile page.
Thanks
API maintenance
From Wednesday, January 22nd to Thurday January 23rd evening we will be undergoing maintenance. During this time the following methods will be offline: song/identify, track/upload, artist/blogs, artist/news, artist/reviews, artist/video. They will return an HTTP 503 response code (Service Unavailable). Furthermore any calls with blogs, news, reviews or video bucket will not be available and will return an HTTP 500 response. We will post on this thread when service is back to normal.
Apologies for the late notice and any inconvenience this causes.
Buckets causing "unknown error"
Currently we are undergoing maintenance. Please follow this thread for more information:
http://developer.echonest.com/forums/thread/1526
We apologize for any inconvenience
Buckets causing "unknown error"
Ah, I'll have to check announcements next time. Thanks.
API down or having maintainance?
I'm getting this when trying to query the server with a code generated from echoprint-codegen. Is it really down or am I doing something wrong?
{"response": {"status": {"version": "4.2", "code": 6, "message": "The server is currently unable to handle the request due to a temporary overloading or maintenance of the server"}}}
Thanks -bryan
API down or having maintainance?
Yes -- please read the announcements forum -- http://developer.echonest.com/forums/thread/1526#post5067
API down or having maintainance?
I just found it .. Google is not my friend.
I found an old announcements page thru google.. However after exiting from my post i noticed something new in the Announcements here.
Thanks
Just my luck to try and do this when it was down.
-b
API maintenance
We have completed the maintenance. All methods are back online. Thanks for your patience.
Echotron installation corrupt Rdio integration
Hi, I am new to echonest and installed the echotron demo on my server. It worked nice out of the box. Except from the Rdio-integration part of it where it actually plays 30 seconds of some song of the artist. I am in Sweden which Rdio is available in.
This is how it should look like: (fill in an artist name like Metallica) http://static.echonest.com/echotron/
And here is my out of the box setup with replaced to my echonest API-key: It is missing the dynamic playlist in the top right which is where the music should be played. http://www.instrumentchamp.com/echotron/
This is the error I get but jquery.min.js is not available to me (seems to be on echonest servers).
XMLHttpRequest cannot load http://developer.echonest.com/user/api_key.json?_=1390603115274. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.instrumentchamp.com' is therefore not allowed access. (index):1
GET https://www.rdio.com/oauth2/authorize/auto/?response_type=token&client_id=O…entchamp.com%2Fechotron%2Fhelper.html%3Fclient_id%3DO6AaGOhuj-J9rKck49gQMw 400 (BAD REQUEST) api-helper.js:151
A question, do I have to replace the client_id in the index.html, and in that case to what?
Thanks in advance. /Magnus
Echoprint server ingest - Best Practices
Hi,
I've been testing queries on a few songs I pushed to a local server, I was wondering if there are recommendations on the best procedure for putting extracting song fingerprints to get ingested on the server. Here are a few questions I have
- A lot of the online examples take a 30s sample from 10s into the song. Is this the optimal recommendation? How well does it work for a song that has an intro longer than 40s
- To reduce the possibility of extracting the song fingerprint during the intro, would it be better for instance to start extracting from the middle of the song?
- For songs that have 2 or more different progressions, would it be beneficial to upload two fingerprints to the server?
Those are specific questions I have, but what I need help with is just a basic set of recommendations for extracting song fingerprints
Thanks a lot
ENMFPdotNet : fingerprinting for .NET library available
I've created a .NET library that allows people to generate fingerprints from a .NET project.
NuGet package: https://www.nuget.org/packages/ENMFPdotNet/ (or type Install-Package ENMFPdotNet in the console)
Source code and documentation : https://github.com/aybe/ENMFPdotNet
The library is fully documented through IntelliSense.
Can you add it to the existing list of libraries ? http://developer.echonest.com/client_libraries.html
Thank you !
Bug in Artist documentation
You've got a typo / misdocumented feature @ http://developer.echonest.com/docs/v4/artist.html
Instead of 'genres' you have 'genre' listed... calling /artist/genre gives a 404. Spent a good 10 minutes trying to figure this out. Please fix the docs :)
song/identify bucket=id:whosampled & bucket=tracks no result
I am trying to get the whosampled id of a song with the method song/identify.
For example, i have the request http://developer.echonest.com/api/v4/song/identify?version=4.2&api_key=&bucket=id:whosampled&bucket=tracks&code=
Results :
response: { status: { version: "4.2", code: 0, message: "Success" }, songs: [ { title: "I'm In It", artist_name: "Kanye West", artist_id: "ARRH63Y1187FB47783", tracks: [ ], score: 54, id: "SORLCOF13F6B824879", message: "OK (match type 6)", artist_foreign_ids: [ { catalog: "whosampled", foreign_id: "whosampled:artist:18" } ] } ] } }
The problem is that the tracks[] list is always empty, so i cannot get the whosampled id of a track. (it seems there is no match between the echonest track id and the whosampled id.
Could you help me?
Bug in Artist documentation
musicnews - to get the genres for an artist you should use the 'genre' bucket like so:
http://developer.echonest.com/api/v4/artist/profile?api_key=YOUR_API_KEY&id=ARH6W4X1187B99274F&bucket=genre
There is no documented or support artist/genre or artist/genres method.
Paul