sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
From: John W <jwdevel@gmail.com>
To: sox-users@lists.sourceforge.net
Subject: Can I specify the pulseaudio "application name"?
Date: Tue, 8 Oct 2019 10:42:06 -0700
Message-ID: <CADO30spviE9tBTXVx5+0EEiSJ1UaMnPqGcPn-w4TtCG7v+ww5g@mail.gmail.com> (raw)

Sometimes I play sounds from commandline with the 'play' command. This
shows up as a pulseaudio stream (aka 'sink source') named "SoX". I can
adjust the volume for that stream separate from others on my system,
no problem.

But what I'd like to do is have some set of these (eg: notification
sounds) be a different volume from others (eg: all the rest). So, I
thought maybe there's some way to specify a pulseaudio application
name other than "SoX" (maybe "SoX-my-notifications", or somesuch).
Then, I can adjust the volume for that separately, and pulse will
remember it.

But so far, I haven't found any way to do this.

Anyone know if this is possible?

I made a SO post here with some more details:
https://stackoverflow.com/questions/58277896/how-do-i-specify-the-puseaudio-application-name-when-playing-a-sound-with-sox

Thanks
-John


_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

             reply index

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-08 17:42 John W [this message]
2019-10-09 10:18 ` Måns Rullgård
2019-10-09 16:42   ` Jeremy Nicoll - ml sox users
2019-10-10  6:26     ` John W
2019-10-10  8:31       ` Måns Rullgård

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-users

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADO30spviE9tBTXVx5+0EEiSJ1UaMnPqGcPn-w4TtCG7v+ww5g@mail.gmail.com \
    --to=sox-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

sox-users@lists.sourceforge.net unofficial mirror

Archives are clonable: git clone --mirror https://public-inbox.org/sox-users

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.sox
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.sox
	nntp://news.gmane.org/gmane.comp.audio.sox

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git