sonic-pi icon indicating copy to clipboard operation
sonic-pi copied to clipboard

No sound on Raspberry Pi 5

Open 1611kjb opened this issue 1 year ago • 1 comments

Just received my first Raspberry Pi 5, running Raspberry Pi OS, everything is updated. Installed Sonic Pi 4.5.0. Raspberry Pi plays sound viewing YouTube, running an MP4 movie on VLC player and plays MP3 files, so everything seems normal

Fired up Sonic Pi, typed play 50 in the window. Equalizer window and such indicate somethings playing, but no sound. Sonic Pi has a little tutorial at the bottom of the screen, it says copy this code, paste it in Sonic Pi and click on "run" and it should play a lullaby. Again, visuals indictae something is playing, but no sound.

I'm sure I'm missing something obvious, but I can't figure it out. Is there a volume button or something in the Sonic Pi GUI? perhaps a mute button Please let me know what I can try to get this thing running

Thank you in advance

---Mike'

1611kjb avatar Feb 01 '24 03:02 1611kjb

The sound on the latest Raspberry PI OS (based on Debian Bookworm) uses Pipewire for connections. By default Sonic Pi 4.5 will connect audio out via HDMI which will play on a speaker built in to your monitor. I order to change the audio output path the easies t way is to use a graphical program qpwgraph which is automatically installed by the Sonic Pi installer for 4.5

Usage instructions are included in the installation instructions which can be downloaded from https://sonic-pi.net/files/releases/v4.5.0/README-Sonic-Pi-Raspberry-Pi-OS.txt These also contain a link to a video I produced which shows the use of this program.

See also https://in-thread.sonic-pi.net/t/no-sound-in-sonic-pi-4-5-raspberry-pi-bookworm/8469

rbnpi avatar Feb 01 '24 09:02 rbnpi