pimoroni / pirate-audio

Examples and documentation for the Pirate Audio range of Raspberry Pi add-ons
MIT License
248 stars 50 forks source link

No sound on Pirate-audio amp #97

Open tihos opened 1 year ago

tihos commented 1 year ago

Hello, I am running the device on Raspberry Pi 4 B with installed 64bt Bullseye on it. Tried with desktop version also with lite one but the result is the same - no sound on the headphone jack. Tried everything that is suggested. Made changes in the /boot/config.txt. No sound at all. Please help.

Best regards, Tihomir

DodgyPenguin commented 1 year ago

I had a similar problem. Did all the steps but to no avail.

When I clicked on the audio/sound icon on the Pi desktop found that the audio was trying to output to another source (HDMI I think). Changed the selection and problem solved.

tihos commented 1 year ago

Thanks for your comment. I tried this and indeed it was selected HDMI as an output source. Changed it but no joy. I can hear just a noise now.

Gadgetoid commented 1 year ago

Just fired up on a Pi 4 with Raspberry Pi OS Bookworm and it works. Though I don't think our installer scripts are playing nicely with /boot/config.txt now being a symlink to /boot/firmware/config.txt

I added the following lines to /boot/firmware/config.txt:

dtoverlay=hifiberry-dac
gpio=25=op,dh

And switched the audio device by right-clicking on the speaker icon and switching from "HDMI" to "snd_rpi_hifiberry_dac".

I didn't do anything special for audio, just fired up YouTube and played the first thing in the list.

This exact same SD card and config does not work in the Pi 5, however. :grimacing:

What sort of noise are you getting out of the amp?