openFrameworks-RaspberryPi / openFrameworks

This repo has migrated into the openFramworks core! Please go to http://github.com/openFrameworks/openFrameworks for the latest!
http://github.com/openFrameworks/openFrameworks
Other
104 stars 11 forks source link

playback of MP3 files fails #79

Closed danzeeeman closed 11 years ago

danzeeeman commented 11 years ago

Crashes with

[error] ofOpenALSoundPlayer: couldnt read /home/pi/src/openFrameworks/examples/sound/soundPlayerFFTExample/bin/data/sounds/jdee_beat.mp3 Floating point exception

bakercp commented 11 years ago

This is odd -- I had the same issues, but after cleaning and recompiling everything from scratch it was all working again. I'll look at my setup again to see if I have made any local changes ...

danzeeeman commented 11 years ago

cool. thanks.

danzeeeman commented 11 years ago

I installed libmp3lame-dev and cleaned everything and rebuilt. works now.

bakercp commented 11 years ago

Odd, it isn't listed here:

https://github.com/openFrameworks-RaspberryPi/openFrameworks/wiki/Raspberry-Pi-Getting-Started

It must have been installed as a dependency at some point.

I added it to the getting started guide, just in case.

danzeeeman commented 11 years ago

I swapped distros this afternoon and did a fresh bring up with Raspbian, I was running Occidentalis. I updated some of the bring up guide to get around the issues I hit with apt-get and setting up the board.

On Mon, Dec 10, 2012 at 1:07 AM, Christopher Baker <notifications@github.com

wrote:

Odd, it isn't listed here:

https://github.com/openFrameworks-RaspberryPi/openFrameworks/wiki/Raspberry-Pi-Getting-Started

It must have been installed as a dependency at some point.

I added it to the getting started guide, just in case.

— Reply to this email directly or view it on GitHubhttps://github.com/openFrameworks-RaspberryPi/openFrameworks/issues/79#issuecomment-11182875.

"I believe in science. Unlike mathematical theorems, scientific results can't be proved. They can only be tested again and again, until only a fool would not believe them.

I cannot prove that electrons exist, but I believe fervently in their existence. And if you don't believe in them, I have a high voltage cattle prod I'm willing to apply as an argument on their behalf. Electrons speak for themselves."

-- Seth Lloyd: Quantum Mechanical Engineer, MIT

/.

arturoc commented 11 years ago

we don't use libmp3lame so it must has been the rebuild, the library we use is installed by the install_codecs.sh script

bakercp commented 11 years ago

(removed it from the getting started guide :))