Required Information
- DietPi version | 18.4.2
- Distro version | Bullseye
- Kernel version | 5.15.84-v8+
- SBC model | RPI4
Additional Information (if applicable)
- Software title | Chromium in Kiosk Mode
I have a RPI4 running a website (local http server with lighthttpd) and I am want to play a sound (wav file) when an icon.
The sound has to be played through HDMI. Monitor supports sound via HDMI.
I set the Sound Setting in DietPi config to HDMI etc.
No sound.
When I try to play the wav file (which is played in the website) on the console I get these messages:
aplay -vv fanfare.wav
Playing WAVE ‘fanfare.wav’ : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: set_params:1343: Sample format non available
Available formats:
- IEC958_SUBFRAME_LE
It seems that the file cannot to be played.
Im never worked with sound on the raspi. Any suggestions?