All of lore.kernel.org
 help / color / mirror / Atom feed
From: Colin Guthrie <gmane@colin.guthr.ie>
To: alsa-devel@alsa-project.org
Subject: Re: wrong decibel data?
Date: Mon, 14 Jun 2010 15:17:36 +0100	[thread overview]
Message-ID: <hv5dkf$tv8$1@dough.gmane.org> (raw)
In-Reply-To: <AANLkTimxTM73el7iCE6nwUJMPFpYa0dY2R9SYxa3_j6N@mail.gmail.com>

'Twas brillig, and Raymond Yau at 14/06/10 13:36 did gyre and gimble:
> 2010/6/14 James Courtier-Dutton <james.dutton@gmail.com>
> 
>> On 14 June 2010 11:22, Colin Guthrie <gmane@colin.guthr.ie> wrote:
>>> 'Twas brillig, and James Courtier-Dutton at 14/06/10 09:56 did gyre and
>>> gimble:
>>>> If you use "alsamixer", dB values are shown so it is easy to find the
>>>> 0dB "sweet spot".
>>>> I think it is pulse audio that hides this information when it combines
>>>> two alsa mixer controls into one pulseaudio control.
>>>
>>> But it doesn't hide it. It's shown very clearly in the volume control
>>> GUIs as the Base Volume.
>>>
>>> Do you really think that most users look at the sliders to find the 0dB
>>> point? Does gnome-alsa-mixer (the old one) expose this information? No.
>>> Does kmix? No. So the vast, vast majority of users do not know where the
>>> 0dB point is unless they use alsamixer.... and even if the user is
>>> advanced enough to use alsamixer, then I'd still say a proportion of
>>> users are just looking at how far up the slider is rather than looking
>>> specifically for 0dB.
>>>
>>> So I'd argue the exact opposite of your claim. That with the base volume
>>> clearly presented in the GUI, the h/w 0dB spot is much, much more
>>> obvious to the vast majority of users.
>>>
>>> I really think this is a vast improvement over a complex balancing act
>>> of getting two different sliders setup to get distortion free audio!
>>>
>>> Col
>>
>> One has very different problems with capture than one does with playback.
>> With capture it is important to identify which are analog controls
>> (applied to the analog part of the circuit) and which are digital
>> controls (applied to the digital part of the circuit)
>> So, for capture one might wish to adjust the analog control so that
>> the signal going into the ADC is a suitable level, but once the signal
>> is digital, one should really not adjust it further, and just record
>> what you have.
>> If one was to combine these two capture controls in one PA control, it
>> would just be wrong.
>>
>>
> The AC97 recording from line-in problem seem not related to capture gain
> since you can set capture volume to 0dB
> 
> The HDA 's "PCM" softvol plugin is different from AC97 "PCM" Playback volume
> 
> But you can change the softvol plugin to add gain to emulate the clipping in
> software side if PA developers did not have ac97 sound card ( clipping occur
> in hardware side )
> 
>   /usr/share/alsa/cards/HDA-Intel.conf
> 
> HDA-Intel.pcm.front.0 {
>     @args [ CARD ]
>     @args.CARD {
>         type string
>     }
>     type softvol
>     slave.pcm {
>         type hw
>         card $CARD
>     }
>     control {
>         name "PCM Playback Volume"
>         card $CARD
>     }
> +      min_dB -46.5
> +     max_dB 12.0
> +      resolution 32
> }

I've made this change on my system and while previously my UI had no
"Base Volume" displayed (because all my "h/w" (I include softvol in
that) controls had their dB value >0.

Now that this change is live, I have a base volume present in my GUI (at
around the 64% mark with the cubic scale we've already discussed). When
I set my volume ot the base volume, the h/w controls are all set to 0dB
which is exactly as expected.

I fail to see the point here? The base volume is clearly exposed to the
as the recommended point on the scale at which no clipping occurs.

I really don't get where your complaint is.

Col





-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

  reply	other threads:[~2010-06-14 14:17 UTC|newest]

Thread overview: 100+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-02 18:21 wrong decibel data? Nicolo' Chieffo
2010-04-02 20:25 ` Nicolo' Chieffo
2010-04-03 10:09   ` Colin Guthrie
2010-04-03 10:48     ` Nicolo' Chieffo
2010-04-05  0:15       ` Raymond Yau
2010-04-05  8:29       ` Stereo Support in APLAY Reddy, MR Swami
2010-04-08  6:47         ` Clemens Ladisch
2010-04-04  0:09     ` wrong decibel data? Raymond Yau
2010-04-04  1:31     ` Raymond Yau
2010-04-06  0:07     ` Raymond Yau
2010-04-08  1:35     ` Raymond Yau
2010-04-16 13:48     ` Raymond Yau
2010-04-17  9:31       ` Colin Guthrie
2010-04-21  2:32         ` Raymond Yau
2010-04-21  8:06           ` Colin Guthrie
2010-04-22  1:16             ` Raymond Yau
2010-05-27 13:30               ` Colin Guthrie
2010-05-27 13:48                 ` Clemens Ladisch
2010-05-27 14:43                   ` Colin Guthrie
2010-05-27 17:21                     ` Colin Guthrie
2010-06-06  0:12                       ` Raymond Yau
2010-06-07  9:03                         ` Colin Guthrie
2010-06-08  0:47                           ` Raymond Yau
2010-06-08 15:30                             ` Colin Guthrie
2010-06-10  3:16                               ` Raymond Yau
2010-06-10 16:11                                 ` Colin Guthrie
2010-06-13 13:53                                   ` Lennart Poettering
2010-06-14  0:25                                     ` Raymond Yau
2010-06-14  8:33                                       ` Colin Guthrie
2010-06-14  8:38                                         ` Raymond Yau
2010-06-14  8:45                                         ` Raymond Yau
2010-06-14 10:17                                           ` Colin Guthrie
2010-06-14 18:38                                           ` Lennart Poettering
2010-06-14  8:56                                         ` James Courtier-Dutton
2010-06-14  9:54                                           ` Raymond Yau
2010-06-14 10:07                                             ` James Courtier-Dutton
2010-06-15  6:57                                               ` Raymond Yau
2010-06-14 18:46                                             ` Lennart Poettering
2010-06-14 10:22                                           ` Colin Guthrie
2010-06-14 10:46                                             ` James Courtier-Dutton
2010-06-14 11:03                                               ` Colin Guthrie
2010-06-14 11:29                                               ` Alan Horstmann
2010-06-14 12:36                                               ` Raymond Yau
2010-06-14 14:17                                                 ` Colin Guthrie [this message]
2010-06-14 15:27                                                   ` James Courtier-Dutton
2010-06-14 15:44                                                     ` Colin Guthrie
2010-06-14 16:09                                                     ` Mark Brown
2010-06-15  0:11                                                     ` Raymond Yau
2010-06-22  2:31                                                   ` Raymond Yau
2010-06-22  9:15                                                     ` Colin Guthrie
2010-06-22 15:29                                                       ` Raymond Yau
2010-06-22 17:05                                                         ` Colin Guthrie
2010-06-23  1:15                                                           ` Raymond Yau
2010-06-23  9:12                                                             ` Colin Guthrie
2010-06-28  1:47                                                               ` Raymond Yau
2010-06-28  8:18                                                                 ` Colin Guthrie
2010-07-01 15:03                                                                   ` Raymond Yau
2010-06-14 18:54                                               ` Lennart Poettering
2010-06-14 18:49                                             ` Lennart Poettering
2010-06-14 23:43                                               ` Raymond Yau
2010-06-15 16:10                                                 ` Colin Guthrie
2010-06-14 18:41                                           ` Lennart Poettering
2010-06-08  4:01                           ` Raymond Yau
2010-06-08 15:40                             ` Colin Guthrie
2010-05-28  2:37                     ` Raymond Yau
2010-05-28  2:04                   ` Raymond Yau
2010-04-06  1:46 ` Raymond Yau
2010-04-06  8:01   ` Nicolo' Chieffo
2010-04-07  0:34     ` Raymond Yau
2010-04-07  8:17       ` Nicolo' Chieffo
2010-04-07 12:17         ` Nicolo' Chieffo
2010-04-07 23:38           ` Raymond Yau
2010-04-08  2:05     ` Raymond Yau
2010-04-08 12:42       ` Nicolo' Chieffo
2010-04-08 23:11         ` Raymond Yau
2010-04-09  7:30           ` Nicolo' Chieffo
2010-04-09 11:37             ` Raymond Yau
2010-04-09 11:40             ` Raymond Yau
2010-04-09 12:27               ` Nicolo' Chieffo
2010-06-24  9:53                 ` Raymond Yau
2010-04-09 13:49             ` Raymond Yau
2010-04-09 13:59               ` Nicolo' Chieffo
2010-04-09 18:35                 ` Nicolo' Chieffo
2010-04-10  0:27                   ` Raymond Yau
2010-04-10  9:27                   ` Raymond Yau
2010-04-10  9:41                     ` Nicolo' Chieffo
2010-04-10 23:32                       ` Raymond Yau
2010-04-11  0:02                       ` Raymond Yau
2010-04-11  9:00                         ` Nicolo' Chieffo
2010-04-15  3:38                           ` Raymond Yau
2010-04-14  1:39                 ` Raymond Yau
     [not found]               ` <4BBF5F81.1010205@yellowcouch.org>
2010-04-09 23:32                 ` Raymond Yau
2010-04-10  6:56                   ` Werner Van Belle
2010-04-10  7:23                     ` Raymond Yau
2010-04-10  4:25                 ` Raymond Yau
2010-04-10  6:59                   ` Werner Van Belle
2010-04-10  0:11             ` Raymond Yau
2010-04-17  0:40             ` Raymond Yau
2010-04-09  0:49         ` Raymond Yau
2010-04-09  1:35         ` Raymond Yau

Reply instructions:

You may reply publicly 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-all from there: mbox

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

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

  git send-email \
    --in-reply-to='hv5dkf$tv8$1@dough.gmane.org' \
    --to=gmane@colin.guthr.ie \
    --cc=alsa-devel@alsa-project.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.