From owner-freebsd-multimedia Fri Mar 29 14:31:54 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id E1AED37B405 for ; Fri, 29 Mar 2002 14:31:42 -0800 (PST) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g2TMVSh10014; Fri, 29 Mar 2002 16:31:28 -0600 Date: Fri, 29 Mar 2002 16:31:28 -0600 (CST) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: "Adam D. Gorski" Cc: Rahul Siddharthan , Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Fri, 29 Mar 2002, Adam D. Gorski wrote: > Ok.. I converted an 8Khz wav file to Ogg, and that played fine... > > I converted a 44Khz Ogg to wav... I got the popping/screeching > > So basically it goes along with the suggestion that it's a sampling > problem... but is this a BSD-only issue? Everything played like a charm for > me under Linux, no matter what my current CPU load was, never a single skip. > I really appreciate the help you guys are giving me, and any other > suggestions would be greatly appreciated. > > Oh, almost forgot.. when I play that 128bps/44Khz Ogg in XMMS, the bitrate > fluctuates.. meaning it goes from like 98 to 114 to 104 to 112 and so forth, > which is accompanied by the screeching. that's awfully interesting. ogg is supposed to do that. it's a variable bitrate format. it's not supposed to make nasty noises, tho, and it doesnt on my box. are you building all the sound apps from source or using packages? do you have the faster 586 FPU stuff compiled into the kernel? are some things being built with -mpentiumpro flag passed to gcc? i can play mp3s and oggs on my p166mmx hp laptop, but i have every single kernel hot-rod turned on.... this is quite a perplexing problem, my current guess is a math error where some portion of the system is expecting the calc's to be done in one way but it's getting them in a slightly different format. > - Adam > > ::Are the wavs and aus generated from the mp3s, or are they different > ::files? If different, what are their sampling rates? > :: > ::If your files were from different sources, try this: > ::(a) encode a wav which works to ogg (using oggenc, say), and see whether > :: that still works. > ::(b) decode a problematic ogg to wav (ogg123 -d wav -f output.wav input.ogg), > :: and see whether that still has problems. > :: > ::If the answer is "yes" to both I'm pretty sure it's sample rate > ::conversion, as I suggested in an earlier mail. In any case I really > ::don't see what sort of hardware problem can distinguish between ogg > ::and wav, given that you have more than enough CPU horsepower, etc. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-multimedia" in the body of the message > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message