processing-sound icon indicating copy to clipboard operation
processing-sound copied to clipboard

Does not work on Raspberry PI 4

Open theseanzo opened this issue 5 years ago • 5 comments

On the latest release of Raspbian, you cannot load files without them being inaudible. It causes crashes in programs I have run in previous raspbian versions.

theseanzo avatar Dec 01 '19 05:12 theseanzo

Thanks for reporting, could you post the error/stack trace that you get when trying to run your old sketches?

kevinstadler avatar Dec 02 '19 10:12 kevinstadler

@kevinstadler quite possibly this is due to a missing dependency, I had same issue. But then I installed pulseaudio and library worked.

sudo apt-get install pulseaudio
# and because it wont harm, might be useful later
sudo apt-get gstreamer1.0-pulseaudio

monkstone avatar Dec 24 '19 12:12 monkstone

Interestingly works out of box on ManjaroARM(64bit) OS on RaspberryPI4 where pulseaudio is already installed. People at Raspbian seem to have a hate thing going with pulseaudio.

monkstone avatar Aug 07 '20 06:08 monkstone

Hey, just got back to PI development. Yeah, there isn't an error thrown. What happens is the audio constantly clips. I'm using raspbian 5.4.73-v7. I have pulseaudio installed and gstremmer1.0-pulseaudio.

theseanzo avatar Oct 29 '20 23:10 theseanzo

@theseanzo your original issue was about loading sound files, is the clipping issue also just with sound files or any kind of output audio? Could you try one of the simple oscillator examples and see if it has anything to do with output amplitude?

kevinstadler avatar Nov 04 '20 03:11 kevinstadler