Sound settings by App... Can it be done?

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
Post Reply
RichInTheUSA
Level 1
Level 1
Posts: 26
Joined: Wed Apr 03, 2019 10:07 pm

Sound settings by App... Can it be done?

Post by RichInTheUSA » Tue Dec 03, 2019 9:36 am

Sound is working very well on my desktop running cinnamon... but I'd like to direct things like notifications, slack, skype, or telegram notifications of messages to make sound out of my speakers, while having audio conferencing (google meet, zoom, etc) use my headset.

Is there a way for me to have my cake and eat it too?

Thanks in advance

Hoser Rob
Level 15
Level 15
Posts: 5682
Joined: Sat Dec 15, 2012 8:57 am

Re: Sound settings by App... Can it be done?

Post by Hoser Rob » Wed Dec 04, 2019 8:42 am

You may be able to do it with pavucontrol but you'd need 2 sound cards.

User avatar
trytip
Level 12
Level 12
Posts: 4019
Joined: Tue Jul 05, 2016 1:20 pm

Re: Sound settings by App... Can it be done?

Post by trytip » Wed Dec 04, 2019 10:27 am

please explain ! what you want, i do not understand.
Image

User avatar
MrEen
Level 15
Level 15
Posts: 5913
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound settings by App... Can it be done?

Post by MrEen » Wed Dec 04, 2019 3:08 pm

Hoser Rob wrote:
Wed Dec 04, 2019 8:42 am
You may be able to do it with pavucontrol but you'd need 2 sound cards.
It can also be done if there's a surround sound option. That is, split 4.0 to 2.0+2.0, or 7.1 to 5.1+2.0. Examples here.

@RichInTheUSA
To see if this is possible in your case, please post the output of pacmd list-cards.

RichInTheUSA
Level 1
Level 1
Posts: 26
Joined: Wed Apr 03, 2019 10:07 pm

Re: Sound settings by App... Can it be done?

Post by RichInTheUSA » Tue Dec 10, 2019 6:14 pm

Thanks ... i'll take a look at the examples.

Here is the output requested.

rich@breathmint:~$ pacmd list-cards
3 card(s) available.
index: 0
name: <alsa_card.usb-046d_1080P_Pro_Stream_5D8DAA2F-02>
driver: <module-alsa-card.c>
owner module: 7
properties:
alsa.card = "1"
alsa.card_name = "1080P Pro Stream"
alsa.long_card_name = "1080P Pro Stream at usb-0000:00:14.0-1, high speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "pci-0000:00:14.0-usb-0:1:1.2"
sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.2/sound/card1"
udev.id = "usb-046d_1080P_Pro_Stream_5D8DAA2F-02"
device.bus = "usb"
device.vendor.id = "046d"
device.vendor.name = "Logitech, Inc."
device.product.id = "0894"
device.product.name = "CrystalCam"
device.serial = "046d_1080P_Pro_Stream_5D8DAA2F"
device.form_factor = "webcam"
device.string = "1"
device.description = "CrystalCam"
module-udev-detect.discovered = "1"
device.icon_name = "camera-web-usb"
profiles:
input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
input:iec958-stereo: Digital Stereo (IEC958) Input (priority 55, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <input:iec958-stereo>
sources:
alsa_input.usb-046d_1080P_Pro_Stream_5D8DAA2F-02.iec958-stereo/#0: CrystalCam Digital Stereo (IEC958)
ports:
analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-input-microphone"
iec958-stereo-input: Digital Input (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
properties:

index: 1
name: <alsa_card.usb-Logitech_Inc_Logitech_Stereo_H650e_00000000-00>
driver: <module-alsa-card.c>
owner module: 8
properties:
alsa.card = "2"
alsa.card_name = "Logitech Stereo H650e"
alsa.long_card_name = "Logitech Inc Logitech Stereo H650e at usb-0000:00:14.0-2, full speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "pci-0000:00:14.0-usb-0:2:1.0"
sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/sound/card2"
udev.id = "usb-Logitech_Inc_Logitech_Stereo_H650e_00000000-00"
device.bus = "usb"
device.vendor.id = "046d"
device.vendor.name = "Logitech, Inc."
device.product.id = "0a46"
device.product.name = "Logitech Stereo H650e"
device.serial = "Logitech_Inc_Logitech_Stereo_H650e_00000000"
device.string = "2"
device.description = "Logitech Stereo H650e"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-usb"
profiles:
input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
input:iec958-stereo: Digital Stereo (IEC958) Input (priority 55, available: unknown)
output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (priority 6055, available: unknown)
output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5560, available: unknown)
output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (priority 5555, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:analog-stereo+input:iec958-stereo>
sinks:
alsa_output.usb-Logitech_Inc_Logitech_Stereo_H650e_00000000-00.analog-stereo/#0: Logitech Stereo H650e Analog Stereo
sources:
alsa_output.usb-Logitech_Inc_Logitech_Stereo_H650e_00000000-00.analog-stereo.monitor/#1: Monitor of Logitech Stereo H650e Analog Stereo
alsa_input.usb-Logitech_Inc_Logitech_Stereo_H650e_00000000-00.iec958-stereo/#2: Logitech Stereo H650e Digital Stereo (IEC958)
ports:
analog-input-headset-mic: Headset Microphone (priority 8800, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-input-microphone"
iec958-stereo-input: Digital Input (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
properties:

analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-headphones"
iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
properties:

index: 2
name: <alsa_card.pci-0000_00_1f.3>
driver: <module-alsa-card.c>
owner module: 9
properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xa1410000 irq 132"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "a348"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
input:analog-stereo: Analog Stereo Input (priority 60, available: no)
output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: no)
output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: no)
output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 360, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: no)
output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (priority 360, available: no)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: unknown)
output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5260, available: unknown)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: no)
output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (priority 5260, available: no)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: no)
output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: no)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: no)
output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: no)
output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: no)
output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (priority 5260, available: no)
output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: no)
output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (priority 160, available: no)
output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, available: no)
output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (priority 160, available: no)
output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5200, available: no)
output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5) Output + Analog Stereo Input (priority 5260, available: no)
output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 100, available: no)
output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input (priority 160, available: no)
output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 100, available: no)
output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input (priority 160, available: no)
off: Off (priority 0, available: unknown)
active profile: <output:analog-stereo+input:analog-stereo>
sinks:
alsa_output.pci-0000_00_1f.3.analog-stereo/#1: Built-in Audio Analog Stereo
sources:
alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#3: Monitor of Built-in Audio Analog Stereo
alsa_input.pci-0000_00_1f.3.analog-stereo/#4: Built-in Audio Analog Stereo
ports:
analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
properties:

analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
properties:

analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: yes)
properties:
device.icon_name = "audio-headphones"
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)
properties:
device.icon_name = "video-display"
device.product.name = "LG IPS FULLHD"
hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
rich@breathmint:~$

User avatar
MrEen
Level 15
Level 15
Posts: 5913
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound settings by App... Can it be done?

Post by MrEen » Tue Dec 10, 2019 6:31 pm

Fortunately your headset is USB, which is it's own sound card. What I'd do in your situation is have the default audio as the Built-in Audio, then when you are conferencing, use the Playback tab of pavucontrol to send just that audio to your headset. It'll make sense when the apps are running and you look at the tab I believe. Unfortunately, you cannot preset the audio that way, although the app itself might be able to direct it's audio to the headset in its own settings.

Post Reply

Return to “Sound, Multimedia, & Codecs”