i think the pyechonest problem is with the bersion of Tcl/Tk (8.5.9) but doesn't seem to be a solution since im running mavericks
Absolute Beginner Wanting To Work In Java
Absolute Beginner Wanting To Work In Java
i think the pyechonest problem is with the bersion of Tcl/Tk (8.5.9) but doesn't seem to be a solution since im running mavericks
Absolute Beginner Wanting To Work In Java
ccorner,
It sounds like you're making things harder for yourself than you might need to. Are you really trying to use three programming languages (python, tcl/tk, and java) all at the same time?
I can't tell whether you're struggling with getting IDEs installed, or writing a simple program, or calling the Echo Nest API. But maybe back up a step and start simple. You say you want to write a program in Java, so start with just writing a "hello world" Java program using whatever text editor you have on hand and the command line for invoking the compiler and JVM. If you can do that much, it proves that your Java development environment is set up properly, which is a good start.
From there, maybe you want to use a graphical IDE (like IntelliJ). OK, install that, and make sure you can create and run a "hello world" style program inside that IDE. Still no Echo Nest anywhere in sight.
Once that's all working, you'll need to figure out how to make your program one level more complicated and start depending on a third-party library like jEN. So download the jEN JAR, add it to the classpath for your project, and try doing something trivial with it. Maybe instead of printing "Hello World", call artist/news and print out the latest headline about Justin Bieber or some such thing.
If that works, it means you're set to call our API properly, and you can start in on whatever it is you're actually trying to build.
If you run into confusion with the API during this process, this is a great place to get help. But if you're not even getting that far because you can't run a Hello World application inside IntelliJ or something, there are probably better sources of help (like forums for IntelliJ, or whatever specific thing you're having trouble with).
Absolute Beginner Wanting To Work In Java
hi thanks for the reply, i only moved onto trying python as it was reccomended to me from a lecturer but im currently using intellij in a class so would prefer to use that. I'm able to do the "Hello, World!" but i'm stuck at taking the jEN to sync in with intellij, i've tried adding the library file 'jEN.jar' into intellij but get an error and just get errors trying to use an example code have you any ideas what im doing wrong here? thanks
Song Release Date
I am looking around but can't seem to find song realease date in any of the api calls...am I missing it or is it not included data?
Identify song and Track upload
I'm trying to retrieve the album name, song title and artist from an audio file using the JEN java library, I have a few questions and issues.
- Currently I'm using upload track to identify the audio file but it seems to be taking quite a long time(2-3 minutes). How long should this process usually take?
2.I frequently get this error returned "(3) 3|You are limited to 20 accesses every minute." even though I have only made 1 call within 1 minute, why does this happen?
- What is the difference between song identify and track upload I cant find any JEN examples for song identify where should I be looking for this information?
Thanks
Music identification for PC
I've decided to develop the facebook post thing for the version 1.1
My Music Recognition v1.0
Hi, here is my program (using echonest to analyze the sound).
What do u think? Is there any bug? In the version 1.1, I wish to create a button 'Share on facebook' so that 'listening TITLE by ARTIST' will be generated in u're own wall
recognize the music from an online radio (streaming)
how to recognize the music from an online radio (streaming)?
Have a script (preferably php) that I can do this?
Thanks anyway!
Artist Discography needed
I see this thread is several months old. I am looking for the same feature, any updates on it? It is a pain going to different sources to get this data. Hope you guys add this soon.
ASIHTTPRequestErrorDomain Code=5 - unable to create request
Bump....
Just to be more detail this is on my log
2014-02-24 16:18:12.535 echoprint[1150:70b] start request url : http://developer.echonest.com/api/v4/song/identify?api_key=JOVOR210ICLRJHJ5D &version=4.11&code=õ 2014-02-24 16:18:12.535 echoprint[1150:70b] send request 2014-02-24 16:18:12.536 echoprint[1150:70b] error: Error Domain=ASIHTTPRequestErrorDomain Code=5 "Unable to create request (bad url?)" UserInfo=0xa3caae0 {NSLocalizedDescription=Unable to create request (bad url?)}
please advise... thanks...
Identify song and Track upload
joshafc - there are three things that affect the time of a track upload - the actual upload time, the pending time and the analysis time. The upload time is going to be affected by your local bandwidth. If you have a slow connection to the internet, the track upload will be slow. The pending time depends on how many other analyses are taking place simultaneously. The analysis time takes about 1 second per minute of audio. All this being said, it typically takes about 10 to 20 seconds for most track upload/analysis to complete.
As for the 20 accesses every minute, the jEN library will poll the track status after an upload which is probably why you are seeing more than 20 accesses per minute. I recommend that you upgrade your account to 120 calls per minute. You can do this by going to your account page, clicking on the 'upgrade' button and filling out the form.
Song identify will identify a song based on a precomputed fingerprint (using echoprint). track/upload will compute the fingerprint for you based on the audio. Since the fingerprint is typically much smaller than the audio, Song identify sends less data over the wire, and thus would likely run faster, however, you have to get the fingerprinter and run it all locally to use song/identify. Track/Upload will be easier to use.
Note that we currently don't return album info in our API, so you will not be able to retrieve the album name using either of these api methods.
Hope this helps
Paul
Song Release Date
nathanielg - it is currently not available in our API - but it is coming soon ...
Paul
How to simulate reaching rate limit?
Hi Plamere,
how does the rate limit works ? does the miniutes start from the first request and continues for 60 seconds or if it starts at the hh:mm:00 time and finishes at hh:mm+1:00 ?
How to simulate reaching rate limit?
The rate limit is reset every 60 seconds starting at hh:mm:00
-- Paul
My Music Recognition v1.0
Music identification for PC
BadStatusLine exception on python example
Hi,
I was checking out the pyechonest library and ran across the following exception when trying to run one of the examples on the github page, more specifically, this one:
from pyechonest import artist
bk = artist.Artist('bikini kill')
print "Artists similar to: %s:" % (bk.name,)
for similar_artist in bk.similar: print "\t%s" % (similar_artist.name,)
The exception information goes like this:
Traceback (most recent call last):
File "example1.py", line 4, in <module>
artist = artist.Artist('paramore')
File "build\bdist.win-amd64\egg\pyechonest\artist.py", line 79, in __init__
File "build\bdist.win-amd64\egg\pyechonest\proxies.py", line 43, in __init__
File "build\bdist.win-amd64\egg\pyechonest\proxies.py", line 53, in get_attribute
File "build\bdist.win-amd64\egg\pyechonest\proxies.py", line 23, in get_attribute
File "build\bdist.win-amd64\egg\pyechonest\util.py", line 247, in callm
File "c:\Python27\lib\urllib2.py", line 404, in open
response = self._open(req, data)
File "c:\Python27\lib\urllib2.py", line 422, in _open
'_open', req)
File "c:\Python27\lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "c:\Python27\lib\urllib2.py", line 1214, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "c:\Python27\lib\urllib2.py", line 1187, in do_open
r = h.getresponse(buffering=True)
File "c:\Python27\lib\httplib.py", line 1045, in getresponse
response.begin()
File "c:\Python27\lib\httplib.py", line 409, in begin
version, status, reason = self._read_status()
File "c:\Python27\lib\httplib.py", line 373, in _read_status
raise BadStatusLine(line)
httplib.BadStatusLine: ''
Any help is appreciated. Thanks.
Catalog coverage for 3rd party APIs
I've been testing the API with Deezer and Spotify catalogues for a time now, and it seems that there are a large number of tracks that are not covered in the Rosetta Stone Id spaces.
For example, '73724283' is the ID of a track on Deezer. I can get info about this track using the Deezer API, but the Echonest API finds no match for this track when I issue the following query:
http://developer.echonest.com/api/v4/song/profile?api_key=my_key&format=json&track_id=deezer:track:73724283
Does this mean that there is no information about this track on Echonest at all? And is there any information on EchoNest's coverage rate for 3rd party APIs?
curl (56) Recv failure: Connection was reset
Hi,
Since few hours,
curl -F "api_key=XXX" -F "filetype=mp3" -F "track=@sound.mp3""http://developer.echonest.com/api/v4/track/upload"
does not work, it uploads for ever. Via a test, i see that my download and upload speed is greater than 20 Mo/s. Is there a problem from your side?