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

Include term frequency for top_styles on catalog/predict

$
0
0

When getting terms for an artist, it's great to get the frequency value, in order filter out popular terms like rock, pop, etc and give greater significance to rare terms. Could you please include this when fetching top_styles from the catalog/predict endpoint? At the moment it just gives you a count.

In return, we shall build something that demonstrates to the world the power of this endpoint ;)

Thanks!


cAction import error module not found

cAction import error module not found

$
0
0

Hi Thor,

The new installer fixed the error messages I posted. However, the ImportError still occurs. I have a feeling that I need to install a C++ runtime installer on my server. I tried Microsoft Visual C++ (http://www.microsoft.com/en-ca/download/details.aspx?id=5582) but didn't have any success.

You mentioned that you set up a Windows 7 machine. Were you successfully able to run capsule.py? If so was it a bare bones version of Windows 7 or did you have Visual Studio or any C++ runtime installed?

Help Needed with the API

$
0
0

Askash:

You need to include a request for the audio_summary bucket. Change your call to this:

s = song.Song(song_ids[i], buckets=['audio_summary']);

Paul

Where to get premium API?

$
0
0

ryan - we didn't create neverendingplaylist.com, but they do power it with our API. The docs for the API are here:

http://developer.echonest.com/docs/v4/

Paul

clarification to implement API and fetching data

$
0
0

Yes. Rdio will play full songs for subscribers and 30 second samples for non-subscribers.

Paul

Conflicting Search Results

$
0
0

what results do you want when you search for songs by Elvis?

P

Include term frequency for top_styles on catalog/predict


Song tempo accuracy?

$
0
0

robjellis - sorry - we haven't published the algorithm on how we derive tempo fro the IBI. -- Paul

Artist Discography needed

$
0
0

we haven't published a time frame for this yet. Sorry. -- Paul

cAction import error module not found

$
0
0

Ok. I finally got passed the ImportError after installing SQL Server 2012 R2 (which is powered by Visual Studio). I'm assuming the proper C++ runtime got installed during this process.

However, I did get another error when running capsule.py. Below is the error message. I hope you can help!

c:Python27echo-nest-remix-examplescapsule>python capsule.py "c:He Won't Go.m p3""c:Don't You Remember.mp3" c:capsule.mp3 -e -v

en-ffmpeg -i "c:He Won't Go.mp3" -y -ac 2 -ar 44100 "c:usersadmini~1appdata localtemp2tmprwpeuv.wav"

Computed MD5 of file is e5c4c37d76da8d2405d5f5cefdce20e9

Probing for existing analysis

en-ffmpeg -i "c:Don't You Remember.mp3" -y -ac 2 -ar 44100 "c:usersadmini~1a ppdatalocaltemp2tmpbiw22x.wav"

Computed MD5 of file is b99efee40b2360b56fce01ce9fa1b0c1

Probing for existing analysis

en-ffmpeg -i "c:capsule.mp3" -y -ac 2 -ar 44100 "c:usersadmini~1appdataloca ltemp2tmpwu3bu3.wav"

Traceback (most recent call last):

File "capsule.py", line 111, in main() File "capsule.py", line 98, in main actions = do_work(args, options) File "capsule.py", line 39, in do_work tracks = map(analyze, audio_files) File "capsule.py", line 38, in analyze = lambda x : LocalAudioFile(x, verbose=verbose, sampleRate = 44100, numChannels = 2)

File "C:Python27libsite-packagesechonestremixaudio.py", line 928, in i nit sampleRate=sampleRate, numChannels=numChannels)

File "C:Python27libsite-packagesechonestremixaudio.py", line 392, in i nit self.load() File "C:Python27libsite-packagesechonestremixaudio.py", line 413, in loa d w = wave.open(file_to_read, 'r')

File "C:Python27libwave.py", line 498, in open return Wave_read(f)

File "C:Python27libwave.py", line 163, in init self.initfp(f)

File "C:Python27libwave.py", line 128, in initfp self._file = Chunk(file, bigendian = 0)

File "C:Python27libchunk.py", line 63, in init raise EOFError

EOFError

track/upload API is currently failing

$
0
0

track/upload is operating normally again.

We apologize for the disruption.

David

cAction import error module not found

$
0
0

Hello!

I am glad you got it working - though I do not fully understand how that install fixed those errors.

capsule.py doesn't need you to specify an output file. Try: python capsule.py "c:\He Won't Go.mp3""c:\Don't You Remember.mp3" -e -v

Best, Thor

cAction import error module not found

$
0
0

Hi Thor,

I removed the output file but the error looks to be the same:

c:Python27echo-nest-remix-examplescapsule>python capsule.py "c:He Won't Go.m p3""c:Don't You Remember.mp3" -e -v

en-ffmpeg -i "c:He Won't Go.mp3" -y -ac 2 -ar 44100 "c:usersadmini~1appdata localtemp2tmpew9poz.wav"

Traceback (most recent call last):

File "capsule.py", line 111, in main()

File "capsule.py", line 98, in main actions = do_work(args, options)

File "capsule.py", line 39, in do_work tracks = map(analyze, audio_files)

File "capsule.py", line 38, in analyze = lambda x : LocalAudioFile(x, verbose=verbose, sampleRate = 44100, numChannels = 2)

File "C:Python27libsite-packagesechonestremixaudio.py", line 928, in i nit sampleRate=sampleRate, numChannels=numChannels) File "C:Python27libsite-packagesechonestremixaudio.py", line 392, in i nit self.load()

File "C:Python27libsite-packagesechonestremixaudio.py", line 413, in loa d w = wave.open(file_to_read, 'r')

File "C:Python27libwave.py", line 498, in open return Wave_read(f)

File "C:Python27libwave.py", line 163, in init self.initfp(f)

File "C:Python27libwave.py", line 128, in initfp self._file = Chunk(file, bigendian = 0)

File "C:Python27libchunk.py", line 63, in init raise EOFError

EOFError

cAction import error module not found

$
0
0

Some more info - the temp wave file created is 0kb. This explains the EOFError. Something in LocalAudioFile() is causing this.....


Song tempo accuracy?

$
0
0

No worries, Paul; just didn't want to think I'd missed something obvious!

Segment alignment with tatums, beats, bars, sections

$
0
0

The EchoNest Analyze documentation mentions this:

Beats are subdivisions of bars. Tatums are subdivisions of beats. That is, bars always align with a beat and ditto tatums.

Does the same hold true for alignment with segments? For example, does a bar always align with a segment?

Segment alignment with tatums, beats, bars, sections

$
0
0

kris-ri - no, segments are not always aligned with bars, beats or tatums. -- Paul

Era-specific playlist

cAction import error module not found

$
0
0

I had to turn my production environment into a development environment so that I can debug what is going on. That being said, the error I am now getting is related to en-ffmpeg.exe (located in the root of C:\Python27).

"Can't determine profile of DV input stream. C:\Music\song1.mp3: Error while opening file".

The file song1.mp3 does exist in the C:Music folder. It is not encoded.

Command:

c:\Python27>en-ffmpeg -i "C:\\Music\\song1.mp3" -y -ac 2 -ar 44100 "c:\\users\\x07
dmini~1\\x07ppdata\\local\\temp\\x02\\tmpax82jf.wav"

Full Error:

FFmpeg version SVN-r17988-Komeil, Copyright (c) 2000-2009 Fabrice Bellard, et al
.
  configuration: --enable-memalign-hack --extra-cflags=-fno-common --enable-stat
ic --disable-shared --disable-debug --enable-gpl --enable-nonfree --enable-avfil
ter --enable-avfilter-lavf --enable-avisynth --enable-postproc --enable-pthreads
 --enable-libamr-nb --enable-libamr-wb --enable-libgsm --enable-libfaac --enable
-libfaad --enable-libmp3lame --enable-libschroedinger --enable-libspeex --enable
-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
  libavutil     50. 0. 0 / 50. 0. 0
  libavcodec    52.21. 0 / 52.21. 0
  libavformat   52.31. 1 / 52.31. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Mar 15 2009 18:16:31, gcc: 4.3.0 20080305 (alpha-testing) mingw-20080
502
[dv @ 0x1449690]Can't determine profile of DV input stream.
C:\\Music\\song1.mp3: Error while opening file

I also tried removing the double back slashes.

Command:

c:\Python27>en-ffmpeg -i "C:\Music\song1.mp3" -y -ac 2 -ar 44100 "c:\users\x07dmin i~1\x07ppdata\local\temp\x02\tmpax82jf.wav"

Full Error:

FFmpeg version SVN-r17988-Komeil, Copyright (c) 2000-2009 Fabrice Bellard, et al
.
  configuration: --enable-memalign-hack --extra-cflags=-fno-common --enable-stat
ic --disable-shared --disable-debug --enable-gpl --enable-nonfree --enable-avfil
ter --enable-avfilter-lavf --enable-avisynth --enable-postproc --enable-pthreads
 --enable-libamr-nb --enable-libamr-wb --enable-libgsm --enable-libfaac --enable
-libfaad --enable-libmp3lame --enable-libschroedinger --enable-libspeex --enable
-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
  libavutil     50. 0. 0 / 50. 0. 0
  libavcodec    52.21. 0 / 52.21. 0
  libavformat   52.31. 1 / 52.31. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Mar 15 2009 18:16:31, gcc: 4.3.0 20080305 (alpha-testing) mingw-20080
502
[dv @ 0x3c9670]Can't determine profile of DV input stream.
C:\Music\song1.mp3: Error while opening file
Viewing all 1582 articles
Browse latest View live