From owner-freebsd-multimedia Tue Dec 17 15:34:32 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDF6C37B401 for ; Tue, 17 Dec 2002 15:34:30 -0800 (PST) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A2FF43ED1 for ; Tue, 17 Dec 2002 15:34:30 -0800 (PST) (envelope-from kmarx@vicor.com) Received: from vicor.com (sploot.vicor-nb.com [208.206.78.81]) by mail.vicor-nb.com (Postfix) with ESMTP id 4A0A55922D; Tue, 17 Dec 2002 15:34:30 -0800 (PST) Message-ID: <3DFFB25C.1080306@vicor.com> Date: Tue, 17 Dec 2002 15:25:16 -0800 From: Ken Marx User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021202 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Nottebrock Cc: freebsd@fadesa.es, freebsd-multimedia@freebsd.org, riggs@rrr.de Subject: Re: Poor audio quality with festival and hw.snd.pcm0.vchans > 0 References: <3DFE1C75.B31E28D7@fadesa.es> <3DFF096E.414CFAF0@fadesa.es> <3DFF5D61.7050104@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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 Michael Nottebrock wrote: > José M. Fandiño wrote: > >>>> I think this may be the same problem kmarx (ken marx) is seeing here >>>> with vchan> 1 due to the linear interpolation between sample points.. >>>> I think festival produces 8kHz or 16kHz data (can't remember), but the >>>> vchan sampler runs at 44 kHz. >>> >>> >> >> Excellent!, now it works. Doing a resample to 44100 Hz the nasty sound >> disappears. >> Just by using "mplayer -ao oss:/dev/dsp0.3 -srate 44100 /cdrom/*avi" >> everything works fine. > > > Metoo. Maybe this information should be included into a > package/port-message for the mplayer port. > fyi - It's really probably more to do with the vchan implementation in general and not specific to mplayer. I ran into this simply playing wave data. 16khz data were noisy; Higher sample rates (e.g., 11025hz) played more cleanly. I believe that Orion and Cameron were discussing work-arounds and possibly even an eventual re-design (apparently far from trivial). k -- Ken Marx, kmarx@vicor-nb.com Even the simplist minds see the need to not stand pat and objectify the risk analysis. - http://www.bigshed.com/cgi-bin/speak.cgi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message