New issue 76 by adrien.canterot: Mac OS X lion incompatible
http://code.google.com/p/echo-nest-remix/issues/detail?id=76
What steps will reproduce the problem?
1. install the echo nest for mac os x 10.6 (mpkg file)
2.run python command prompt
3. run "import echonest.audio"
What is the expected output? What do you see instead?
The script is supposed to work
instead, i get this :
ImportError: No module named echonest.audio
What version of the product are you using? On what operating system?
Mac OS X 10.7
Please provide any additional information below.
When I use LocalAudioFile on a mono .wav file, remix barfs:
audio_file = audio.LocalAudioFile("/Users/douglas/Desktop/Changes.wav")
en-ffmpeg -i "/Users/douglas/Desktop/Changes.wav"
Traceback (most recent call last):
File "simplesort.py", line 95, in <module>
simplesort(in_filename, out_filename, mode)
File "simplesort.py", line 30, in simplesort
audio_file = audio.LocalAudioFile(in_filename)
File "/Library/Python/2.6/site-packages/echonest/audio.py", line 861,
in __init__
AudioData.__init__(self, filename=filename, verbose=verbose,
defer=defer)
File "/Library/Python/2.6/site-packages/echonest/audio.py", line 305,
in __init__
self.load()
File "/Library/Python/2.6/site-packages/echonest/audio.py", line 331,
in load
data = numpy.frombuffer(raw, dtype="<h", count=sampleSize)
ValueError: buffer is smaller than requested size
I've verified that en-ffmpeg processes the file correctly, and if I use
en-ffmpeg manually to convert the mono .wav to a mono .mp3, remix deals
with the file correctly. So it seems to be a problem specific to wave
files.
Or am I misunderstanding something?
douglas
--
............................................... http://artbots.org
.....douglas.....irving........................ http://dorkbot.org
.......................... http://music.columbia.edu/cmc/music-dsp
...........repetto............. http://music.columbia.edu/organism
............................... http://music.columbia.edu/~douglas
https://github.com/kanaka/noVNC/issues/76
I'm assuming this is a bug, so I'll add it to the bug tracker.
douglas