Thanks much for this - it was a helpful start towards solving a similar problem with my build.
Based on various pokes and prods suggested by a couple of AIs via a terminal or two, this helped make progress – but not enough to make the music play. It
turned into 2+ hours of a lot of hit-and-miss,
with both a couple of AI "assistants" sometimes helpful, and
sometimes guessing even more wildly than I.It turned out that I needed to set the profile quite precisely for the USB dongle which feeds the music output to the amplifier and speakers with the 3.5mm AUX jack wired to the amplifier. I switched dongles at one point just to make sure that the supplied dongle wasn’t some how flaky: it flashes red when working – at first I thought this was a danger signal, not an indication that it’s doing the best it can.
Once you know where to look, getting to the profiles for the USB dongle via the GUI is straightforward: a right-click on the sound icon in the upper top right of the Raspberry menu bar opens up three options – HDMI, USB Audio Device (the name with my substitute dongle), and Device Profiles. There are several options for the USB Audio Device: the AI recommended “Analog Stereo Output + Mono Input” – in slavish recognition that the dongle has jacks for both a microphone input and headphone output. This only resulted in more static, however – perhaps because with only one jack inserted in the dongle (headphones – though the supplied dongle shows a mouse icon, also a bit confusing), this profile doesn’t perfectly match?
In any case, after switching to Analog Stereo Output all by itself did the trick.
One more tidbit for revising the documentation, especially for those of us relatively new to these domains.
Again, many thanks for the helpful script and notes.