Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #240593

Re: Persistent names for audio devices.

From peter@easthope.ca
Newsgroups linux.debian.user
Subject Re: Persistent names for audio devices.
Date 2021-09-29 22:40 +0200
Message-ID <D2OwV-6NH-9@gated-at.bofh.it> (permalink)
References <D2nGp-79Q-11@gated-at.bofh.it> <D2p5v-87P-1@gated-at.bofh.it> <D2sZt-1YS-5@gated-at.bofh.it> <D2uRz-36g-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Trimmed the reference list.  =8~)

    From: David Wright <deblis@lionunicorn.co.uk>
    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 anything else,
> with some sort of application, unless it was a disembodied
> notification, say.
> 
> Some applications include volume/balance controls and so on; others
> don't. I have keys set up for adjusting the volume on the various
> controls, using the multimedia keys XF86Audio{Mute,LowerVolume,RaiseVolume}
> (F1/F2/F3 where not present), with Ctrl/Alt/Shift to select between
> Master/Speakers/Headphones/PCM.

Understood, but to listen to an audio message from VoIP (not opera) a 
simple command should suffice. (play ~/a42.WAV) Speakers rather than 
headphones for a voice message.  I'd rather not  adjust volume except 
maybe "play ~/a42.WAV gain 1".  A typical message is "Please call J. 
Doe."  In a worst case I might shut off the RCA AM radio made in 1960 
to hear the message better.  =8~)  Seems we're at crossed purposes 
here.

> How otherwise would you make explicit what you're happy to use
> implicitly?

No offense but isn't that analogous to saying to a ten year old 
"Johnny, please eat your lunch with your mouth."  =8~) 

A default which isn't unique is a bad default.  If it is unique, 
there's nothing to disambiguate.  Crossed purposes again?  

> (When I write a script, I try to be as explicit as
> possible, avoiding short-cuts, abbreviations, assumptions, etc.)

Absolutely good policy.  I try to follow it also but tend to fail.  =8~)

> sox /home/peter/a42.WAV -t alsa default

Good. 

The machine here has sound hardware on the system board.  Also it can 
have a PCI sound card.  Sound devices reported here. 
https://lists.debian.org/debian-user/2021/07/msg01272.html

Assume speakers are plugged to output on the system board; headphones 
plugged to the PCI card.  A Linphone ring and a voice message (play 
~/a42.WAV) should always go to the speakers.  VoIP I/O (a 
conversation) and ring can be configured in Linphone; no problem.  
"play ~/a42.WAV" delivering to the headphones in random cases is an 
unacceptable failure. How would you make it work without frequent 
configuration adjustments?  

Thanks,                        ... P.




-- 
48.7693 N 123.3053 W
mobile: +1 778 951 5147
  VoIP: +1 604 670 0140

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Persistent names for audio devices. peter@easthope.ca - 2021-09-28 18:00 +0200
  Re: Persistent names for audio devices. ghe2001 <ghe2001@protonmail.com> - 2021-09-28 19:30 +0200
    Re: Persistent names for audio devices. peter@easthope.ca - 2021-09-28 23:40 +0200
      Re: Persistent names for audio devices. David Wright <deblis@lionunicorn.co.uk> - 2021-09-29 01:40 +0200
        Re: Persistent names for audio devices. peter@easthope.ca - 2021-09-29 22:40 +0200
          Re: Persistent names for audio devices. David Wright <deblis@lionunicorn.co.uk> - 2021-09-30 05:40 +0200
            Re: Persistent names for audio devices. peter@easthope.ca - 2021-09-30 19:10 +0200
  Re: Persistent names for audio devices. Greg Wooledge <greg@wooledge.org> - 2021-09-28 19:40 +0200
    Re: Persistent names for audio devices. Nils <tuxifan@posteo.de> - 2021-09-28 20:00 +0200
      Re: Persistent names for audio devices. Tixy <tixy@yxit.co.uk> - 2021-09-28 21:20 +0200
    Re: Persistent names for audio devices. peter@easthope.ca - 2021-09-29 00:10 +0200
      Re: Persistent names for audio devices. Greg Wooledge <greg@wooledge.org> - 2021-09-29 00:20 +0200
      Re: Persistent names for audio devices. <tomas@tuxteam.de> - 2021-09-29 09:00 +0200
        Re: Persistent names for audio devices. David <bouncingcats@gmail.com> - 2021-09-29 13:00 +0200

csiph-web