From owner-freebsd-multimedia@FreeBSD.ORG Wed Dec 6 22:05:06 2006 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B54E16A714 for ; Wed, 6 Dec 2006 22:05:06 +0000 (UTC) (envelope-from tamaru@myn.rcast.u-tokyo.ac.jp) Received: from mail1.ecc.u-tokyo.ac.jp (mail1.ecc.u-tokyo.ac.jp [133.11.50.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE3E74407B for ; Wed, 6 Dec 2006 22:00:02 +0000 (GMT) (envelope-from tamaru@myn.rcast.u-tokyo.ac.jp) Received: from spam003.ecc.u-tokyo.ac.jp (spam003.ecc.u-tokyo.ac.jp [133.11.50.196]) by mail1.ecc.u-tokyo.ac.jp (Postfix) with ESMTP id 9347B1006F for ; Thu, 7 Dec 2006 07:00:40 +0900 (JST) Received: from md001.ecc.u-tokyo.ac.jp (192.168.160.21 [192.168.160.21]) by spam003.ecc.u-tokyo.ac.jp (SpamBlock.pst 3.4.94) with ESMTP id for ; Thu, 7 Dec 2006 07:00:22 +0900 Received: from amulet.amuletic.net (v055252.ppp.asahi-net.or.jp [124.155.55.252]) by md001.ecc.u-tokyo.ac.jp (MOS 3.4.5-GR) with ESMTP id BON98749 (AUTH via LOGINBEFORESMTP); Thu, 7 Dec 2006 07:00:21 +0900 (JST) Date: Thu, 07 Dec 2006 07:00:22 +0900 Message-ID: From: Hiroharu Tamaru To: Ariff Abdullah In-Reply-To: <20061207010750.4f73bc15.ariff@FreeBSD.org> References: <20061207010750.4f73bc15.ariff@FreeBSD.org> User-Agent: User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-IP: 192.168.160.21 X-FROM-DOMAIN: myn.rcast.u-tokyo.ac.jp X-FROM-EMAIL: tamaru@myn.rcast.u-tokyo.ac.jp Cc: multimedia@freebsd.org Subject: Re: snd_hda: loud distorted sound with NVidia MCP51 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 22:05:06 -0000 Thank you Ariff, At Thu, 7 Dec 2006 01:07:50 +0800, Ariff Abdullah wrote: > > [1 ] > On Thu, 07 Dec 2006 01:42:41 +0900 > Hiroharu Tamaru 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