Re: Persistent names for audio devices.

2021-09-30 Thread peter
From: David Wright Date: Wed, 29 Sep 2021 22:35:11 -0500 > ... your case is like playing it later by pressing a key. Acknowledged. > As for the gain, you might always start at some default, but it would > surely be useful to be able to adjust it for mumblers and shouters > while it was

Re: Persistent names for audio devices.

2021-09-29 Thread David Wright
On Wed 29 Sep 2021 at 12:25:49 (-0700), pe...@easthope.ca wrote: > From: David Wright > Date: Tue, 28 Sep 2021 18:31:34 -0500 > > No, you'd use alsamixer where you were taking an active rôle during > > record/playback, or for discovering, inspecting and setting up a > > system. Typically,

Re: Persistent names for audio devices.

2021-09-29 Thread peter
From: David Wright Date: Tue, 28 Sep 2021 18:31:34 -0500 > sox /home/peter/a42.WAV -t alsa default OK, good. I can replace the PCI sound card. Then that or the system board hardware will be the default. How can a non-default device be specified? Conceptually, sox /home/peter/a42.WAV

Re: Persistent names for audio devices.

2021-09-29 Thread peter
Trimmed the reference list. =8~) From: David Wright Date: Tue, 28 Sep 2021 18:31:34 -0500 > No, you'd use alsamixer where you were taking an active rôle during > record/playback, or for discovering, inspecting and setting up a > system. Typically, you'd play "an audio message", or

Re: Persistent names for audio devices.

2021-09-29 Thread David
On Wed, 29 Sept 2021 at 16:57, wrote: > On Tue, Sep 28, 2021 at 02:31:18PM -0700, pe...@easthope.ca wrote: > > I haven't set a shell. According to https://wiki.debian.org/Shell > > it's bash. > It might be willing to tell you: > echo $SHELL I wouldn't give that advice, it's rather

Re: Persistent names for audio devices.

2021-09-29 Thread tomas
On Tue, Sep 28, 2021 at 02:31:18PM -0700, pe...@easthope.ca wrote: > From: Greg Wooledge > Date: Tue, 28 Sep 2021 13:32:02 -0400 > > Are you in csh/tcsh? > > I haven't set a shell. According to https://wiki.debian.org/Shell > it's bash. It might be willing to tell you: echo $SHELL

Re: Persistent names for audio devices.

2021-09-28 Thread David Wright
On Tue 28 Sep 2021 at 13:49:37 (-0700), pe...@easthope.ca wrote: > From: ghe2001 > Date: Tue, 28 Sep 2021 17:24:57 + > > Try alsamixer. You can select the audio device there. It works for my > > >From the alsamixer manual, > "DESCRIPTION >alsamixer is an ncurses mixer

Re: Persistent names for audio devices.

2021-09-28 Thread Greg Wooledge
On Tue, Sep 28, 2021 at 02:31:18PM -0700, pe...@easthope.ca wrote: > From: Greg Wooledge > Date: Tue, 28 Sep 2021 13:32:02 -0400 > > Are you in csh/tcsh? > > I haven't set a shell. According to https://wiki.debian.org/Shell > it's bash. Do not guess. Do not assume defaults are in

Re: Persistent names for audio devices.

2021-09-28 Thread peter
From: Greg Wooledge Date: Tue, 28 Sep 2021 13:32:02 -0400 > Are you in csh/tcsh? I haven't set a shell. According to https://wiki.debian.org/Shell it's bash. > If you're in a more "normal" shell (bash or zsh), > that set command doesn't do anything useful. Certainly nothing that >

Re: Persistent names for audio devices.

2021-09-28 Thread peter
From: ghe2001 Date: Tue, 28 Sep 2021 17:24:57 + > Try alsamixer. You can select the audio device there. It works for my Thanks. >From the alsamixer manual, "DESCRIPTION alsamixer is an ncurses mixer program for use with the ALSA soundcard drivers. It supports

Re: Persistent names for audio devices.

2021-09-28 Thread Tixy
I've reordered this reply to get rid of top posting... On Tue, 2021-09-28 at 17:38 +, Nils wrote: > Am 28. September 2021 19:32:02 MESZ schrieb Greg Wooledge < > g...@wooledge.org>: > > On Tue, Sep 28, 2021 at 08:19:26AM -0700, pe...@easthope.ca wrote: > > > > CONCLUSIONS > > > > > > > >

Re: Persistent names for audio devices.

2021-09-28 Thread Nils
I agree. In the "normal" shells, you need to use "export" instead of "set"! Am 28. September 2021 19:32:02 MESZ schrieb Greg Wooledge : >On Tue, Sep 28, 2021 at 08:19:26AM -0700, pe...@easthope.ca wrote: >> > CONCLUSIONS >> > >> > Audio messages can be interpreted. Eg., >> > set

Re: Persistent names for audio devices.

2021-09-28 Thread Greg Wooledge
On Tue, Sep 28, 2021 at 08:19:26AM -0700, pe...@easthope.ca wrote: > > CONCLUSIONS > > > > Audio messages can be interpreted. Eg., > > set AUDIODEV=plughw:CARD=ICH5,DEV=0; play m94.WAV > > Hasty reply. In further use, didn't always work. I removed the PCI > sound card, removed the plastic

Re: Persistent names for audio devices.

2021-09-28 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 ‐‐‐ Original Message ‐‐‐ On Tuesday, September 28, 2021 9:19 AM, wrote: > From:pe...@easthope.ca > Date: Sat, 31 Jul 2021 09:52:21 -0700 > > > In spite of the warning, sound is produced. Good! Might have a > > reliable way to hear voice

Re: Persistent names for audio devices.

2021-09-28 Thread peter
From: pe...@easthope.ca Date: Sat, 31 Jul 2021 09:52:21 -0700 > In spite of the warning, sound is produced. Good! Might have a > reliable way to hear voice messages. > > CONCLUSIONS > > Audio messages can be interpreted. Eg., > set AUDIODEV=plughw:CARD=ICH5,DEV=0; play m94.WAV Hasty

Correction: Re: Persistent names for audio devices.

2021-08-03 Thread peter
The Subject of my preceding message was a blunder. System board and PCI sound hardware From: pe...@easthope.ca Date: Thu, 29 Jul 2021 20:20:16 -0700 > Got sound from the Intel device on the system board. Oddly enough > there was a plastic cover over the sockets on the chassis back.

Re (2): Persistent names for audio devices.

2021-07-31 Thread peter
From: Reco Date: Fri, 30 Jul 2021 19:37:49 +0300 > Aha. So, will this work? > aplay -d dmix:CARD=Set,DEV=0 /usr/share/sounds/alsa/Noise.wav peter@joule:/home/peter$ aplay -d dmix:CARD=Set,DEV=0 /usr/share/sounds/alsa/Noise.wav aplay: main:653: invalid duration argument

Re: Persistent names for audio devices.

2021-07-30 Thread Reco
On Fri, Jul 30, 2021 at 05:55:43AM -0700, pe...@easthope.ca wrote: > From: Reco > Date: Fri, 30 Jul 2021 08:56:04 +0300 > > You could've started a new thread as well. > > For sure at least one reader would think "#$%&*, there he goes; another > thread broken!" Broken threads are usual

Re: Persistent names for audio devices.

2021-07-30 Thread peter
From: Reco Date: Fri, 30 Jul 2021 08:56:04 +0300 > You could've started a new thread as well. For sure at least one reader would think "#$%&*, there he goes; another thread broken!" > aplay -L > arecord -L peter@joule:/home/peter$ aplay -L null Discard all samples (playback) or

Re: Persistent names for audio devices.

2021-07-29 Thread Reco
Hi. On Thu, Jul 29, 2021 at 08:20:16PM -0700, pe...@easthope.ca wrote: > From: Reco , Sun, 20 Oct 2019 20:57:52 +0300 > > So, does it work? > > Got sound from the Intel device on the system board. Oddly enough > there was a plastic cover over the sockets on the chassis back. Pried >

Re: Persistent names for audio devices.

2021-07-29 Thread peter
From: Reco , Sun, 20 Oct 2019 20:57:52 +0300 > So, does it work? Got sound from the Intel device on the system board. Oddly enough there was a plastic cover over the sockets on the chassis back. Pried it off to plug the speaker jack. Here is some further info. Read

Re: Persistent names for audio devices.

2019-10-20 Thread peter
From: Reco , Sun, 20 Oct 2019 20:57:52 +0300 > So, does it work? Yes. At present dmix:CARD=Live,DEV=0 produces sound. dmix:CARD=Live,DEV=1 and dmix:CARD=Live,DEV=2 do not produce sound at present. > Try hw:CARD=Set,DEV=1. Will be trying it this week. Thanks. > The reason why dmix fails

Re: Persistent names for audio devices.

2019-10-20 Thread Reco
Hi. On Sun, Oct 20, 2019 at 10:28:37AM -0700, pe...@easthope.ca wrote: > > AUDIODEV=dmix:CARD=PCH,DEV=0 play MY/m85.WAV > > Good. > > Meanwhile, > peter@joule:/home/peter$ aplay -L | grep dmix:CARD=L > dmix:CARD=Live,DEV=0 > dmix:CARD=Live,DEV=1 > dmix:CARD=Live,DEV=2 So, does it work?

Re: Persistent names for audio devices.

2019-10-20 Thread peter
From: Reco , Sun, 20 Oct 2019 18:23:08 +0300 > Mail headers are mangled, Yah, sorry. > User-Agent: Mutt/1.10.1 (2018-07-13) Textual MUAs aren't outside possibility. > AUDIODEV=dmix:CARD=PCH,DEV=0 play MY/m85.WAV Good. Meanwhile, peter@joule:/home/peter$ aplay -L | grep dmix:CARD=L

Re: Persistent names for audio devices.

2019-10-20 Thread deloptes
Peter Easthope wrote: > Can an audio device be named similarly?  Eg. given two USB audio > adapters how would they be assigned the names "USBheadset" and > "USBspeakers"? > I think it is important to do the proper indexing /etc/modprobe.d/alsa-base.conf options snd_hda_intel index=0 options

Re: Persistent names for audio devices.

2019-10-20 Thread Reco
Hi. On Fri, Oct 18, 2019 at 05:45:03PM -0700, Peter Easthope wrote: > systemd provides a sane means to assign a human-chosen persistent name > to a network interface. It's a good habit to add IMHO or YMMV to such statements. > Can an audio device be named similarly? . And the problem

Persistent names for audio devices.

2019-10-18 Thread Peter Easthope
systemd provides a sane means to assign a human-chosen persistent name to a network interface. https://wiki.debian.org/NetworkInterfaceNames#CUSTOM_SCHEMES_USING_.LINK_FILES Can an audio device be named similarly? Eg. given two USB audio adapters how would they be assigned the names "USBheadset"