[Bug 1085402] Re: PulseAudio overuses 'Boost' control of microphone input producing bad audio quality

2017-05-12 Thread Daniel van Vugt
** Changed in: pulseaudio (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1085402

Title:
  PulseAudio overuses 'Boost' control of microphone input producing bad
  audio quality

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1085402/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1085402] Re: PulseAudio overuses 'Boost' control of microphone input producing bad audio quality

2013-08-02 Thread David Henningsson
Pushed upstream:
http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=e6051cdf8db554c0bbd4257959c37a7ecc9c10c5

** Changed in: pulseaudio (Ubuntu)
   Status: Triaged => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1085402

Title:
  PulseAudio overuses 'Boost' control of microphone input producing bad
  audio quality

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1085402/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1085402] Re: PulseAudio overuses 'Boost' control of microphone input producing bad audio quality

2013-08-02 Thread David Henningsson
Some HD-audio codecs (at least ALC269VB and ALC283) become quite noisy on
high Mic Boost levels. So e g, if there is a "Mic Boost" and a "Capture"
control, both ranging from 0 dB to +30 dB, you get better quality if
"Mic Boost" is 0 dB and "Capture" is +30 dB, than the other way around.

By changing the order in the configuration files, this patch makes us prefer
leaving "Mic Boost" low and "Capture" high if the user selects a medium gain.

(This is based on limited experience, and there is no guarantee that there are
no sound cards that work the other way around, and therefore this patch could
potentially regress quality on those machines. Hopefully those are fewer, so
this is what we should default to.)

BugLink: https://bugs.launchpad.net/1085402
Signed-off-by: David Henningsson 
---
 .../alsa/mixer/paths/analog-input-dock-mic.conf|   12 ++--
 .../alsa/mixer/paths/analog-input-front-mic.conf   |   12 ++--
 .../mixer/paths/analog-input-headphone-mic.conf|   12 ++--
 .../alsa/mixer/paths/analog-input-headset-mic.conf |   12 ++--
 .../paths/analog-input-internal-mic-always.conf|   13 ++---
 .../mixer/paths/analog-input-internal-mic.conf |   13 ++---
 src/modules/alsa/mixer/paths/analog-input-mic.conf |   12 ++--
 .../alsa/mixer/paths/analog-input-rear-mic.conf|   12 ++--
 8 files changed, 48 insertions(+), 50 deletions(-)

diff --git a/src/modules/alsa/mixer/paths/analog-input-dock-mic.conf 
b/src/modules/alsa/mixer/paths/analog-input-dock-mic.conf
index 9334d45..85a8658 100644
--- a/src/modules/alsa/mixer/paths/analog-input-dock-mic.conf
+++ b/src/modules/alsa/mixer/paths/analog-input-dock-mic.conf
@@ -30,6 +30,12 @@ state.plugged = unknown
 state.unplugged = unknown
 required-any = any
 
+[Element Capture]
+switch = mute
+volume = merge
+override-map.1 = all
+override-map.2 = all-left,all-right
+
 [Element Dock Mic Boost]
 required-any = any
 switch = select
@@ -50,12 +56,6 @@ volume = merge
 override-map.1 = all
 override-map.2 = all-left,all-right
 
-[Element Capture]
-switch = mute
-volume = merge
-override-map.1 = all
-override-map.2 = all-left,all-right
-
 [Element Input Source]
 enumeration = select
 
diff --git a/src/modules/alsa/mixer/paths/analog-input-front-mic.conf 
b/src/modules/alsa/mixer/paths/analog-input-front-mic.conf
index 3fb5f5e..5265e5b 100644
--- a/src/modules/alsa/mixer/paths/analog-input-front-mic.conf
+++ b/src/modules/alsa/mixer/paths/analog-input-front-mic.conf
@@ -30,6 +30,12 @@ required-any = any
 state.plugged = unknown
 state.unplugged = unknown
 
+[Element Capture]
+switch = mute
+volume = merge
+override-map.1 = all
+override-map.2 = all-left,all-right
+
 [Element Front Mic Boost]
 required-any = any
 switch = select
@@ -50,12 +56,6 @@ volume = merge
 override-map.1 = all
 override-map.2 = all-left,all-right
 
-[Element Capture]
-switch = mute
-volume = merge
-override-map.1 = all
-override-map.2 = all-left,all-right
-
 [Element Input Source]
 enumeration = select
 
diff --git a/src/modules/alsa/mixer/paths/analog-input-headphone-mic.conf 
b/src/modules/alsa/mixer/paths/analog-input-headphone-mic.conf
index 688b8ac..3a19e01 100644
--- a/src/modules/alsa/mixer/paths/analog-input-headphone-mic.conf
+++ b/src/modules/alsa/mixer/paths/analog-input-headphone-mic.conf
@@ -27,21 +27,21 @@ description-key = analog-input-microphone
 required-any = any
 state.plugged = unknown
 
-[Element Headphone Mic Boost]
-required-any = any
-switch = select
+[Element Capture]
+switch = mute
 volume = merge
 override-map.1 = all
 override-map.2 = all-left,all-right
 
-[Element Headphone Mic]
+[Element Headphone Mic Boost]
 required-any = any
-switch = mute
+switch = select
 volume = merge
 override-map.1 = all
 override-map.2 = all-left,all-right
 
-[Element Capture]
+[Element Headphone Mic]
+required-any = any
 switch = mute
 volume = merge
 override-map.1 = all
diff --git a/src/modules/alsa/mixer/paths/analog-input-headset-mic.conf 
b/src/modules/alsa/mixer/paths/analog-input-headset-mic.conf
index 0a3d661..aeb2cec 100644
--- a/src/modules/alsa/mixer/paths/analog-input-headset-mic.conf
+++ b/src/modules/alsa/mixer/paths/analog-input-headset-mic.conf
@@ -36,6 +36,12 @@ state.plugged = unknown
 [Jack Headphone Mic]
 state.plugged = unknown
 
+[Element Capture]
+switch = mute
+volume = merge
+override-map.1 = all
+override-map.2 = all-left,all-right
+
 [Element Headset Mic Boost]
 required-any = any
 switch = select
@@ -57,12 +63,6 @@ volume = merge
 override-map.1 = all
 override-map.2 = all-left,all-right
 
-[Element Capture]
-switch = mute
-volume = merge
-override-map.1 = all
-override-map.2 = all-left,all-right
-
 [Element Input Source]
 enumeration = select
 
diff --git a/src/modules/alsa/mixer/paths/analog-input-internal-mic-always.conf 
b/src/modules/alsa/mixer/paths/analog-input-internal-mic-always.conf
index cd08531..e9c288e 100644
--- a/src/modules/alsa/mixer/paths/analog-input-internal-mic-always.conf

[Bug 1085402] Re: PulseAudio overuses 'Boost' control of microphone input producing bad audio quality

2013-08-02 Thread David Henningsson
I did a small test on two machines I have here, one ALC888 + front mic
and one IDT92xx + internal mic. I tested recording with Capture at +30
dB and Mic Boost at 0 dB, then I tested recording with Capture at 0 dB
and Mic Boost at +30 dB.

For both machines, there was no significant difference in quality.

So, this is very hardware dependent. We could flip it so that we raise
Capture first and then Mic Boost, which would help here, so I'm
seriously considering that - but the question is if this has negative
effect on other hardware, maybe it's the other way around w r t to
quality on other machines?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1085402

Title:
  PulseAudio overuses 'Boost' control of microphone input producing bad
  audio quality

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1085402/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1085402] Re: PulseAudio overuses 'Boost' control of microphone input producing bad audio quality

2013-07-26 Thread Luke Marsden
This was also affecting me, causing very loud hissing on Skype calls.

The change in
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1085402/comments/6
fixes it for me, that is, in /usr/share/pulseaudio/alsa-mixer/paths
/analog-input-mic.conf in the "[Element Mic Boost]" section, change
"volume = merge" to "volume = zero" and restart Pulseaudio ("sudo pkill
pulseaudio") then restart Skype.

I also had to manually set the Mic Boost values to zero in alsamixer
(F6, change card, "HDA Intel PCH").

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1085402

Title:
  PulseAudio overuses 'Boost' control of microphone input producing bad
  audio quality

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1085402/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1085402] Re: PulseAudio overuses 'Boost' control of microphone input producing bad audio quality

2012-12-02 Thread Raymond
** Changed in: pulseaudio (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1085402

Title:
  PulseAudio overuses 'Boost' control of microphone input producing bad
  audio quality

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1085402/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1085402] Re: PulseAudio overuses 'Boost' control of microphone input producing bad audio quality

2012-12-02 Thread Raymond
the amp-in at audio input has a 30dB gain


 Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Control: name="Capture Switch", index=0, device=0
  Control: name="Capture Volume", index=0, device=0
  Device: name="ALC269VB Analog", type="Audio", device=0
  Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x1e 0x1e]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
  Connection: 1
 0x23


control.10 {
iface MIXER
name 'Mic Boost Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 3'
dbmin 0
dbmax 3600
dbvalue.0 0
dbvalue.1 0
}
}
control.11 {
iface MIXER
name 'Internal Mic Boost Volume'
value.0 3
value.1 3
comment {
access 'read write'
type INTEGER
count 2
range '0 - 3'
dbmin 0
dbmax 3600
dbvalue.0 3600
dbvalue.1 3600
}
}
control.12 {
iface MIXER
name 'Capture Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.13 {
iface MIXER
name 'Capture Volume'
value.0 30
value.1 30
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -1650
dbmax 3000
dbvalue.0 2850
dbvalue.1 2850
}
}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1085402

Title:
  PulseAudio overuses 'Boost' control of microphone input producing bad
  audio quality

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1085402/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs