iantbaldwin
Posts: 1
Joined: Mon Feb 25, 2013 4:25 am

HDMI audio adjustment

Mon Feb 25, 2013 4:37 am

I have been struggling to get HDMI audio to work. I finally got it making some sound using the code:

Code: Select all

 sudo aplay /usr/share/sounds/alsa/Front_Center.wav
The sound it makes though isn't the full "Front, Center" it's more of a "ter." I have also tried to play an MP3 with VLC. Both tests work with the 3.5mm jack without a single hiccup.

I have everything in /boot/config.txt force the hdmi audio output

Code: Select all

hdmi_force_hotplug=1

Code: Select all

hdmi_group=1

Code: Select all

config_hdmi_boost=4

Code: Select all

hdmi_drive=2
Clearly the receiver is getting the audio from the Pi, I believe that it is just a signal issue and the receiver does not recognize the signal that it is getting.

Any help/ideas would be much appreciated.

Cloudcentric
Posts: 982
Joined: Fri Sep 14, 2012 9:13 am

Re: HDMI audio adjustment

Mon Feb 25, 2013 9:36 am

You do not appear to have adjusted the ALSA settings, and have no idea what Operating System you are using so will assume Debian "wheezy" fully updated !

This is taken from here: http://debianarmpi.blogspot.co.uk

Sound output will by either via HDMI or Audio Out Jack.

Double click on the LX Terminal Icon and on the command line type the following, pressing the enter key after each entry for HDMI:

sudo modprobe snd_bcm2835
sudo amixer cset numid=3 2

Double click on the LX Terminal Icon and on the command line type the following, pressing the enter key after each entry for Audio Out Jack:

sudo modprobe snd_bcm2835
sudo amixer cset numid=3 1


Also see: http://blog.scphillips.com/2013/01/soun ... -with-alsa

Note: the above link mentions Pulse Audio I believe it was removed from the the default image due to issues !!
I know everything about nothing"

Return to “Troubleshooting”