Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Dec 2006 07:00:22 +0900
From:      Hiroharu Tamaru <tamaru@myn.rcast.u-tokyo.ac.jp>
To:        Ariff Abdullah <ariff@FreeBSD.org>
Cc:        multimedia@freebsd.org
Subject:   Re: snd_hda: loud distorted sound with NVidia MCP51
Message-ID:  <sa6psawadmy.wl%tamaru@myn.rcast.u-tokyo.ac.jp>
In-Reply-To: <20061207010750.4f73bc15.ariff@FreeBSD.org>
References:  <sa6mz612cxq.wl%tamaru@myn.rcast.u-tokyo.ac.jp> <20061207010750.4f73bc15.ariff@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you Ariff,

At Thu, 7 Dec 2006 01:07:50 +0800,
Ariff Abdullah wrote:
> 
> [1  <text/plain; US-ASCII (quoted-printable)>]
> On Thu, 07 Dec 2006 01:42:41 +0900
> Hiroharu Tamaru <tamaru@myn.rcast.u-tokyo.ac.jp> wrote:
> 
> [..]
> 
> > Fiddling with vol and pcm with /usr/sbin/mixer only changes
> > the volume very slightly ( but it does change, always way
> > loud ).  But decreasing it down until where 'vol' multiplied
> > by 'pcm' becomes less than 200, the sound stops completely.
> > I have not tried all combinations, but for instance,
> > vol = 2, pcm = 100 gives loud distored sound whereas
> > vol = 2, pcm =  99 gives silence.
> > Same with vol=50, pcm=4 and vol=49, pcm=4, etc.
> 
> How about pcm=75 vol=55, or pcm=55 vol=45, or simmilar. Try not to
> set too wide gap between both vol and pcm. Besides, anything above
> 65 is considered harmful.

Yes, I should have mentioned it in the original mail..
(pcm,vol) = (75,55), (55,45), (14,15), (15,14) are all too loud as well.
Now that I listen a little more carefully, volumes are actually changing,
except that they are too loud (say +10dB) and get distorted by
saturation (clipping).  My speakers and headphones have series volume
register to lower the volume, but the sound is distorted even then.
These speakers and headphones play fine with other PCs.

And to revist the 200 value again; (14,14) gives silence.
# 14*15 = 210; 14*14=196.. 

Just from curiosity, is it that this hardware in reality has
0-50 levels of volume which is mapped by softpcmvol?
(100*100/200=50)


> > This barebone has a pair of speaker, mic connector at the front
> > panel and a speaker-mic-line trio at the rear, but both speaker
> > connectors behaves the same.
> > 
> > Setting hint.pcm.0.softpcmvol=1 did not help (the behaviour is the
> > same with or without this hint).
> > 
> The correct setting is hint.pcm.0.config="softpcmvol", but as in your
> case it is already the default.

Oh, I see.  I picked it up from a google search..

-- 
Hiroharu Tamaru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?sa6psawadmy.wl%tamaru>