I'm not familiar with sound commands, so this is likely to be down to me not knowing what I'm doing.
Situation - Pi Zero v1 with USB sound card and MPD installed. I was able to get that working and Home Assistant playing through the card.
Decided to up my game and bought a RaspiAudio Ultra++. Followed installation instructions here - https://forum.raspiaudio.com/t/ultra-in ... n-guide/21 ... to the point where it said, "Obsolete way to install, but might be useful if previous method fails :" ... and then I stopped.
Rebooting the Pi, dmsg gives...raspi-config options can see the soundcard under "1 wm8960-soundcard"
aplay -l gives...amixer -c 1 gives...
... and more...
...but I can't get any sound out of either the on board speakers or the headphone output ... and my preferred output for MPD is actually going to be the headphones as this is going to be a target device for Home Assistant to play audio to a set of external speakers.
aplay a wav file gives...
I've been reading articles and trying spurious commands, but I just can't work out what I'm doing wrong.
Situation - Pi Zero v1 with USB sound card and MPD installed. I was able to get that working and Home Assistant playing through the card.
Decided to up my game and bought a RaspiAudio Ultra++. Followed installation instructions here - https://forum.raspiaudio.com/t/ultra-in ... n-guide/21 ... to the point where it said, "Obsolete way to install, but might be useful if previous method fails :" ... and then I stopped.
Rebooting the Pi, dmsg gives...
Code:
[ 59.872957] NET: Registered PF_ALG protocol family[ 73.082346] systemd[605]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set[ 91.591050] wm8960 1-001a: No MCLK configured[ 91.591089] wm8960 1-001a: ASoC: error at snd_soc_dai_hw_params on wm8960-hifi: -22
aplay -l gives...
Code:
**** List of PLAYBACK Hardware Devices ****card 0: vc4hdmi [vc4-hdmi], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0card 1: wm8960soundcard [wm8960-soundcard], device 0: 20203000.i2s-wm8960-hifi wm8960-hifi-0 [20203000.i2s-wm8960-hifi wm8960-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0
Code:
Simple mixer control 'Headphone',0 Capabilities: pvolume Playback channels: Front Left - Front Right Limits: Playback 0 - 127 Mono: Front Left: Playback 109 [86%] [-12.00dB] Front Right: Playback 109 [86%] [-12.00dB]Simple mixer control 'Headphone Playback ZC',0 Capabilities: pswitch Playback channels: Front Left - Front Right Mono: Front Left: Playback [off] Front Right: Playback [off]Simple mixer control 'Speaker',0 Capabilities: pvolume Playback channels: Front Left - Front Right Limits: Playback 0 - 127 Mono: Front Left: Playback 109 [86%] [-12.00dB] Front Right: Playback 109 [86%] [-12.00dB]
...but I can't get any sound out of either the on board speakers or the headphone output ... and my preferred output for MPD is actually going to be the headphones as this is going to be a target device for Home Assistant to play audio to a set of external speakers.
aplay a wav file gives...
Code:
Playing WAVE 'LTT Theme.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereoaplay: set_params:1416: Unable to install hw params:ACCESS: RW_INTERLEAVEDFORMAT: S16_LESUBFORMAT: STDSAMPLE_BITS: 16FRAME_BITS: 32CHANNELS: 2RATE: 44100PERIOD_TIME: (125011 125012)PERIOD_SIZE: 5513PERIOD_BYTES: 22052PERIODS: 4BUFFER_TIME: (500045 500046)BUFFER_SIZE: 22052BUFFER_BYTES: 88208TICK_TIME: 0
I've been reading articles and trying spurious commands, but I just can't work out what I'm doing wrong.
Statistics: Posted by msknight — Thu Dec 12, 2024 8:55 pm