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

Unable to upload songs from computer

$
0
0

Hi there,

I'm using EchoNest to do a timbre analysis. When I use Code 1 (see below), I'm not able to make it identify the URL I type on my .txt file. The URL I have copied comes from dropbox and/ or soundcloud. Along the same lines, when I use Code 2 to upload the song from my own computer (.wav), I get the following: "Exception: Codegen binary not found." I have no idea what that means. Does anyone know how to resolve this issue? I'm not a computer science guy and dealing with this has been painful and time consuming! Is there anyone out there who can help me out?

thanks in advance,

CODE 1 lines 65-80

# For each line in the input file, extract timbre data from that url
for line in inputFile:
line = line[:-1]
(url, outputFile) = line.split("")

"""
This should find the specified file. Make sure it's in the same folder, or you'll have
to specify the specific folder
"""
t = track.track_from_url(url)

song_search = song.search(title=t)
song_title = song_search[0]

url = song_title.audio_summary['analysis_url']
extractTimbre(url, outputFile+".csv")

Code 2 lines 65-81

# For each line in the input file, extract timbre data from that url
for line in inputFile:
line = line[:-1]
(url, outputFile) = line.split("")

"""
This should find the specified file. Make sure it's in the same folder, or you'll have
to specify the specific folder
"""
#t = track.track_from_filename("url")

#song_search = song.search(title=t)
song_search = song.identify(url)
song_title = song_search[0]

url = song_title.audio_summary['analysis_url']
extractTimbre(url, outputFile+".csv")

Viewing all articles
Browse latest Browse all 1582

Trending Articles