Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4971

Troubleshooting • Re: No sound on Raspberry PI 3 B+

$
0
0
I have now the following version installed:

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
Kernel: Linux 6.6.20+rpt-rpi-v8
Architecture: arm64

It is the desktop version 64bit. I have not installed anything, but have ran updates with

sudo apt-get update

I have sounds in my created directory: robot/sounds.

I was only using HDMI to troubleshoot. I am not intending to use the HDMI in my project however, so I won't ask anymore about HDMI.

I am trying to play sounds through a speaker connected to the AV Jack using "aplay"
I will be connecting to the Pi via SSH and command line.

For testing the sound, the instructions I am going by are to make sure I am in the sound file directory, then type:

aplay horn.wav

The terminal prints out:

irobot@irobot:~/robot/sounds $ aplay horn.wav
Playing raw data 'horn.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono

A very strange grinding sound comes out of the speaker for either of the sounds I test.

Is "aplay" still a valid command for this purpose?
Was I wrong to install the desktop version?
What further troubleshooting can I do?

I appreciate the education I am getting on the project and from you. Sound is not necessarily simple on Linux I am learning.

Statistics: Posted by BlueBarryCat — Tue Jun 11, 2024 11:07 pm



Viewing all articles
Browse latest Browse all 4971

Trending Articles