From owner-freebsd-multimedia Fri Mar 29 15:36:58 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by hub.freebsd.org (Postfix) with ESMTP id 9722537B400 for ; Fri, 29 Mar 2002 15:36:54 -0800 (PST) Received: from corto.lpt.ens.fr (corto.lpt.ens.fr [129.199.122.2]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id g2TNapp56823 ; Sat, 30 Mar 2002 00:36:51 +0100 (CET) Received: from (rsidd@localhost) by corto.lpt.ens.fr (8.9.3/jtpda-5.3.1) id AAA88899 ; Sat, 30 Mar 2002 00:36:50 +0100 (CET) Date: Sat, 30 Mar 2002 00:36:49 +0100 From: Rahul Siddharthan To: "Adam D. Gorski" Cc: bdodson@scms.utmb.edu, freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) Message-ID: <20020330003649.A88610@lpt.ens.fr> References: <200203292315.g2TNFmA97325@scms.utmb.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from agorski@engin.umich.edu on Fri, Mar 29, 2002 at 06:22:59PM -0500 X-Operating-System: FreeBSD 3.4-STABLE i386 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Adam D. Gorski said on Mar 29, 2002 at 18:22:59: > No, I still have the problem. I moved the card around, but that didn't help > anything. I even took out the (possibly offending) RTL card, but that had no > effect either. I'm at a loss really... I guess I don't _need_ mp3's, but > this is one of those problems that just nags at the back of your brain... If you get good sound output at low sampling rates, and bad quality only at high sampling rates, I'm not at all convinced it's a problem with IRQs and the like. As a quick and painless check, I suggest you try doing what I said with sox: take a sound which doesn't play well (44100 Hz), downsample it with sox to 22050 Hz (sox input.wav -r 22050 output.wav resample), with possibly some options for resample -- look at the sox(1) man page, and do the same for various other rates too. See at what sampling rate you get acceptable sound quality. If it's 22050 Hz, that's what your card is set up to take. If it's somewhat less than 44100 Hz, it would look like some miscalibrated clock somewhere. If it's some number totally different from these, well I can't figure that out... Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message