sonic-pi-net / sonic-pi

Code. Music. Live.

Home Page:https://sonic-pi.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No sound on Raspberry Pi 5

1611kjb opened this issue · 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'

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