Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-14 Thread Hamish MB
Potential solution: If both speakers are in roughly the same place, does it matter which one each sound is played through? You could just play music though one of them, and do the bells with whichever speaker isn't already in use. Hamish On 14 Jan 2018, at 18:07, Hamish MB

Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-14 Thread Terry Coles
On Sunday, 14 January 2018 18:03:56 GMT you wrote: > I'll post it on the Raspberry Pi Forum later; have to go to dinner now. Done. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2018-01-09 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New

Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-14 Thread Hamish MB
Weird that it keeps cutting it off! I've been having email problems with this mailing list too - I've tried to reply to people a few times but it doesn't seem to work. This is sent directly to you as well as the list Terry, so please let me know if you get this message twice :) Hamish On 14

Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-14 Thread Terry Coles
On Sunday, 14 January 2018 18:02:40 GMT you wrote: > On Sunday, 14 January 2018 17:57:26 GMT Terry Coles wrote: > Some stuff: > > This is weird, I think something is cutting off the information that I have > been putting at the end of the message. One more time: I'll post it on the Raspberry Pi

Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-14 Thread Terry Coles
On Sunday, 14 January 2018 17:57:26 GMT Terry Coles wrote: Some stuff: This is weird, I think something is cutting off the information that I have been putting at the end of the message. One more time: *terry@OptiPlex*:*~*$ aplay -l -- Terry Coles -- Next meeting:

Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-14 Thread Terry Coles
On Sunday, 14 January 2018 17:51:51 GMT Terry Coles wrote: > On Sunday, 14 January 2018 17:40:14 GMT Andrew wrote: > > The IDs in lsusb won't help, they are the vendor ID and device ID for > > that type of card, not that instance in your machine. > > They would if I could tie the ID to the hw:

Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-14 Thread Terry Coles
On Sunday, 14 January 2018 17:40:14 GMT Andrew wrote: > The IDs in lsusb won't help, they are the vendor ID and device ID for > that type of card, not that instance in your machine. They would if I could tie the ID to the hw: channel in aplay, because I know which ID is plugged into the tower

Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-14 Thread Andrew
I've just re-read your forum post and can see your output of 'aplay -l'. So you have: Internal (I guess it's internal): hw:0,0 HDMI 0: hw:2,3 HDMI 1: hw:2,7 USB: hw:3,0 USB: hw:4,0 It would be nice if the output of aplay -l actually showed these rather than having the know how to put them

Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-14 Thread Andrew
On 14/01/18 17:13, Terry Coles wrote: I have used both aplay -l and aplay -L, but neither help. Here is a couple of segments from the relevant output for the two devices: sysdefault:CARD=Device USB PnP Sound Device, USB Audio Default Audio Device .. plughw:CARD=Device,DEV=0

Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-14 Thread Terry Coles
On Sunday, 14 January 2018 16:49:17 GMT Andrew wrote: > Ideally you want a balanced audio output. I would give you a link to the > USB to XLR audio device I bought many years ago, but I can't seem to > find them any more! There's lots around with a single input but the one > I got has two inputs

Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-14 Thread Andrew
Hi Terry, On 14/01/18 11:27, Terry Coles wrote: Everything in the garden was lovely until the 12 V (Audio Amp) PSU Brick failed in August and the replacement turned out to be noisy. There was always a bit of a hum loop, but it was acceptable until the extra noisy PSU came along. Ideally

[Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-14 Thread Terry Coles
Hi, You may remember my queries in November of last year regarding the use of two USB Audio Adaptors with a Raspberry Pi; one to play the chimes and one to play the organ music inside the Wimborne Model Town Minster. At the time it was suggested that I could discriminate between the two