Step 8 of 13Fixed

Make the speaker audible

A desktop sound server on a headless board was holding the sound card: the assistant's playback failed 3 of 3 times while plain aplay worked 10 of 10. With it masked, 10 of 10. Replies lost under music are fixed by pausing the music.

Playback through the assistant
0/3 → 10/10
after masking PulseAudio and PipeWire
Replies heard while music played
none → all
music paused around each reply

Problem

Three faults stacked up in the audio path. A healthy studio monitor was inaudible. The assistant's playback failed with "device or resource busy" intermittently. And a reply to "play something else" while music was playing was silently lost.

Result

The silence was gain staging: the ALSA mixer at −20 dB, a −15 dBFS test tone, and the monitor's own gain knob, all low at once.

The busy device was PulseAudio and PipeWire holding the card on a board with no desktop. In the same window, playback through the assistant failed three times in three and raw aplay worked ten in ten. Nothing on the board reported that a sound server was running; it took listing the sound server's sinks over SSH to find it.

Music and replies share one ALSA device, and ALSA gives a device to one client at a time, so a reply during music went to a device the assistant couldn't open.

Decision

Fixed. The sound servers are masked, and opens succeed ten in ten. The music is paused around each reply rather than mixed, since mixing needs root on the board, and talking over your own music is worse to listen to anyway. One risk stays open: a balanced monitor input can cancel a mono signal to silence, and the sending side can't detect that.