rhasspy / wyoming-satellite

Remote voice satellite using Wyoming protocol
MIT License
737 stars 107 forks source link

HDMI speakers not working #152

Open bturrie opened 7 months ago

bturrie commented 7 months ago

My speakers are driven by HDMI. I've tested them using aplay and they work but perhaps not in the venv. When I tried to find my speakers in the installer script using Test All Speakers i heard no sounds. I found my speakers in Select From List i find plughw:Card=vc4hdmi,,DEV=0. and selected that. Finally, when I applied settings I see an error message-- aplay: set_params:1343: Sample format non available Available formats:

donburch888 commented 5 months ago

I also got the same message when attempting output to HDMI - so I guess it's that HDMI uses a particular format not supported by alsa. I didn't follow up (eg trying pulseaudio) as I had other outputs available.

HDMI audio output would be useful when using the Voice Assist satellite for other things, such as a music player or control panel.

synesthesiam commented 5 months ago

I wonder if installing pulseaudio would help fix this

pdsccode commented 4 weeks ago

Seeing the same issue on a fresh Raspberry Pi OS (64-bit). Audio works via HDMI (e. g. from chromium) but not from wyoming satellite or even aplay.

Pulseaudio, which is installed, makes no difference in itself but can output audio to hdmi totally fine for me.

What did the trick for me is to use sysdefault:CARD=vc4hdmi0 as audio target instead.