Re: [Dorset] Issues with mpg321 / mpg123 - Part 1

2020-12-05 Thread Terry Coles
On Saturday, 5 December 2020 14:26:38 GMT Ralph Corderoy wrote: > speakerbonnet is mentioned in the /etc/asound.conf the above shell > script installs so perhaps you've already followed those instructions? Yes I did the Quick Install and everything works as advertised including the Raspberry Pi T

Re: [Dorset] Issues with mpg321 / mpg123 - Part 1

2020-12-05 Thread Ralph Corderoy
Hi Terry, > It would make sense because the speakers sometimes click part way > through the boot sequence. I think that's normal, more below. > > Are you aware of > > https://learn.adafruit.com/usb-audio-cards-with-a-raspberry-pi/instructions > > ? > > I don't think it is because the Bonnet inte

Re: [Dorset] Issues with mpg321 / mpg123 - Part 1

2020-12-05 Thread Terry Coles
On Saturday, 5 December 2020 12:22:05 GMT Ralph Corderoy wrote: > As it says, is the device in use? Is there anything else running which > would decide to use the default audio device? If there is, I didn't start it. A thought has just occurred to me. I'm wondering if the Adafruit Bonnet grabs

Re: [Dorset] Issues with mpg321 / mpg123 - Part 1

2020-12-05 Thread Ralph Corderoy
Hi Terry, > pi@minster-music:~/Music/Playlist1 $ aplay -l > List of PLAYBACK Hardware Devices > card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi > pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0] > Subdevices: 0/1 > Subdevice #0: subdevice #0 > Can'

Re: [Dorset] Issues with mpg321 / mpg123 - Part 1

2020-12-05 Thread Terry Coles
On Saturday, 5 December 2020 10:49:05 GMT Ralph Corderoy wrote: > But with the ‘-a hw:1,0’, as shown above, there's no error and it plays > okay? No. It doesn't work at all for all and every combination of -a hw:*,* (see below). > What? I get the impression you've fixed it by using ‘-a’. I ne

Re: [Dorset] Issues with mpg321 / mpg123 - Part 1

2020-12-05 Thread Ralph Corderoy
Hi Terry, I don't quite understand the question. > Here is snippet of the original code to illustrate what I did and what > I want to replicate: > > mpg321 -l -m -a hw:1,0 ... > The problem is that the original code (without the 'hw:1,0') produces > the following error: > > ALSA lib pcm.

[Dorset] Issues with mpg321 / mpg123 - Part 1

2020-12-05 Thread Terry Coles
Hi, I'm sure that many of you will remember that back in 2016/17 I produced a program to play organ music in the Nave of the Model Minster at Wimborne Model Town. With a lot of help from members of this list, I used mpg321 to play music in directories using code running on a Pi 3 with a USB /