ddf / Minim

A Java audio library, designed to be used with Processing.
http://code.compartmental.net/tools/minim
GNU Lesser General Public License v3.0
668 stars 136 forks source link

Does not work on raspberry pi 4 #101

Open theseanzo opened 4 years ago

theseanzo commented 4 years ago

On the latest issue of raspbian (stretch), you cannot run any minim examples or use the library anymore.

monkstone commented 4 years ago

I'm using latest version raspbian (buster) on my RaspberryPI4, now I don't have processing installed but using instead picrate to run minim, and I've had a lot of success with examples albeit translated to ruby. See also this thread on processing forum.

ddf commented 4 years ago

Unfortunately I do not have a Raspberry Pi 4 to test with, but I'm open to someone who does trying to figure this out and submitting a PR.

monkstone commented 4 years ago

I was skeptical of this error report, so installed processing-3.5.3 myself and it seems to work absolutely fine on my Buster OS. I used advanced options raspi-config to use OpenGL Fake KMS driver and set video memory at 256 MB (seemed sensible with 4GB available).

ddf commented 4 years ago

Thanks for giving that a try @monkstone.

@theseanzo if you can provide more details about your specific setup and how exactly things aren't working, maybe someone will be able to figure out why it's not working for you.

aurumvorax commented 2 years ago

I'm also having this issue. Raspberry Pi 4 B+, Processing 3.5.3 The code works fine on my windows machine, but minim just doesn't output sound. The Pi can play MP3 files using it's media player, but Processing cannot. Neither my code, nor any of the examples output any sound. Using Processing.sound, I can get some output, but there is extremely bad stuttering, not sure if it's related.