Quantcast
Channel: The Echo Nest Developer Forum
Viewing all 1582 articles
Browse latest View live

How to play mp3 file using preview_url

$
0
0

Hi,

I edited your API key out of the email so it won't be scraped. Please treat your API key as a secret!

~Matt


How to get full song url from echonest

$
0
0

Whenever i enter preview url on my browser it is giving this error : Error: Authorization failed for method <GET> and URL <http://previews.7digital.com/clip/9522>. Missing oauth_consumer_key

Where is this oath consumer key,and how to pass on a url.

How to get full song url from echonest

$
0
0

rajat9021 - see the 7digital API documentation for info on how to get the oauth consumer key for their API - http://developer.7digital.com/resources/api-docs/oauth-authentication

P

Timeouts during Track Upload

$
0
0

I'm getting intermittent timeouts during the /track/upload process. Currently, all of my attempts are timing out. The file being uploaded is a 156k mp3. The "Speed Upload" starts above 150K and then slowly throttles down as if the server is not responding.

Timeouts during Track Upload

$
0
0

I am seeing this as well. No responses to even very small file uploads.

Timeouts during Track Upload

$
0
0

I'm Having this problem too , cannot upload even with curl , my error is : curl: (56) Recv failure: Connection reset by peer

Timeouts during Track Upload

$
0
0

Thanks for the report(s). We are taking a look.

David

Timeouts during Track Upload

$
0
0

track/upload should be back in working order. Sorry about that.

David


Timeouts during Track Upload

$
0
0

it's working well now , thank you

Timeouts during Track Upload

Artist.get_similar(reverse=True) fails

$
0
0

Hi,

It appears that the reverse parameter for Artist.get_Similar is currently returning an error:

Artist.get_similar(reverse=True)

returns:

pyechonest.util.EchoNestAPIError: (u'Echo Nest API Error 5: method - Invalid parameter: "reverse" [HTTP 400]',)

It is documented here: http://echonest.github.io/pyechonest/artist.html?highlight=get_similar#pyechonest.artist.Artist.get_similar

Has this method been removed for some reason? Is there some other way to get the most "dissimilar" artists?

Thanks, John

deferred audio file loading in multitest

$
0
0

Hitting memory limitations and looking to Multitest.py for insights into "deferred audio file loading used in conjunction with render_serially()".

Loading around 250Mb of mp3s, but the file is requiring over a GB to process. The following is output from

memory_profiler
Line #    Mem usage    Increment   Line Contents
================================================
31   19.918 MiB    0.000 MiB   @profile
32                             def main(num_beats, directory, outfile):
33                                 
34   19.922 MiB    0.004 MiB       aud = []
35   19.922 MiB    0.000 MiB       ff = os.listdir(directory)
36 1140.059 MiB 1120.137 MiB       for f in ff:
37                                     # collect the files
38 1090.156 MiB  -49.902 MiB           if f.rsplit('.', 1)[1].lower() in ['mp3', 'aif', 'aiff', 'aifc', 'wav']:
39 1140.059 MiB   49.902 MiB               aud.append(audio.LocalAudioFile(os.path.join(directory,f)))
40                                         # mind the rate limit
41                                 
42 1140.059 MiB    0.000 MiB       num_files = len(aud)
43 1140.059 MiB    0.000 MiB       x = audio.AudioQuantumList()
44                                 
45 1140.059 MiB    0.000 MiB       print >> sys.stderr, "Assembling beats.",
46 1157.688 MiB   17.629 MiB       for w in range(num_beats):
47 1157.688 MiB    0.000 MiB           print >> sys.stderr, '.',
48 1157.688 MiB    0.000 MiB           ssong = aud[w%num_files].analysis
49 1157.688 MiB    0.000 MiB           s = ssong.beats[w%len(ssong.beats)]
50 1157.688 MiB    0.000 MiB           tsong = aud[(w-1)%num_files].analysis
51 1157.688 MiB    0.000 MiB           t = tsong.beats[w%len(tsong.beats)]
52                                     
53 1157.688 MiB    0.000 MiB           x.append(audio.Simultaneous([s,t]))
54                                 
55 1157.688 MiB    0.000 MiB       print >> sys.stderr, "\nStarting rendering pass..."
56                                 
57 1157.688 MiB    0.000 MiB       then = time.time()
58                                 # call render_sequentially() with no arguments, and then it calls itself with
59                                 #  contextual arguments for each source, for each AudioQuantum. It's a lot of
60                                 #  tree-walking, but each source file gets loaded once (and takes itself from)
61                                 #  memory when its rendering pass finishes.
62 1299.441 MiB  141.754 MiB       x.render().encode(outfile)
63                                 
64 1299.484 MiB    0.043 MiB       print >> sys.stderr, "%f sec for rendering" % (time.time() - then,)

What is happening at x.render().encode(outfile), and is there any way to keep the memory usage below a specified threshold?

Timeouts during Track Upload

$
0
0

track/upload seems to be down again this morning. Any chance of a fix?

Timeouts during Track Upload

$
0
0

All,

We accumulated a heavy backlog on the analyze queue. It should be clear in a few minutes. Please wait a few minutes and try again. Sorry for the inconvenience!

/David

Timeouts during Track Upload

$
0
0

All,

We continue to see a rising backlog of analysis jobs. We are looking into the cause. Thank you for your patience.

David


Timeouts during Track Upload

$
0
0

All,

We had some network slowness that was putting our analyzer machines behind. Things appear to be back to normal now.

Thanks.

/David

wrong result for request

$
0
0

Hi.

I'm using jEN and trying to get song data for multiple id's.

I'm trying to find 10 songs at a time: http://developer.echonest.com/api/v4/song/profile?bucket=artist_hotttnesss&bucket=audio_summary&bucket=song_hotttnesss &id=SOAUWYT12A81C206F1&id=SOJEQBQ12A6701E2E6&id=SOLRDEI12A8C13AAA2&id=SOOENDM12A6D2281CB&id=SOONJMQ12A8C137E6D&id=SORHUJT12A8C13B85E &id=SOUAWYC12A67021CD6&id=SOUCBEB12A6310E1F9&id=SOVTQLS12A6D4F8350&id=SOZULNP12A58A80E7E&api_key=API_KEY

but the result is never the same 10 songs (ids). if im lucky it returns 2 songs with correct ids, and the other results are with different ids. and for some ids it never returns a correct result.

HELP!!

thanks

Reload LocalAudioFile.save File

$
0
0

What is the method to reload/open a LocalAudioFile analysis file (Track01.mp3.analysis.en) that has been pickled (?) with

LocalAudioFile.save(LocalAudioFile_object)
?
pickle.load(path_to_file)

returns an Attribute Error

AttributeError: 'str' object has no attribute 'readline'

Reload LocalAudioFile.save File

$
0
0

What is the method to reload/open a LocalAudioFile analysis file (Track01.mp3.analysis.en) that has been pickled (?) with LocalAudioFile.save(LocalAudioFile_object)?

pickle.load(path_to_file)

returns an Attribute Error

AttributeError: 'str' object has no attribute 'readline'

Reload LocalAudioFile.save File

$
0
0

What is the method to reload/open a LocalAudioFile analysis file (Track01.mp3.analysis.en) that has been pickled (?) with

LocalAudioFile.save(LocalAudioFile_object)
?
pickle.load(path_to_file)

returns an Attribute Error

AttributeError: 'str' object has no attribute 'readline'
Viewing all 1582 articles
Browse latest View live