From owner-freebsd-multimedia Mon Dec 16 8:46:25 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 62B4837B40B for ; Mon, 16 Dec 2002 08:46:23 -0800 (PST) Received: from fuego.fadesa.es (fuego.fadesa.es [195.55.55.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4FD643EC2 for ; Mon, 16 Dec 2002 08:46:21 -0800 (PST) (envelope-from freebsd@fadesa.es) Received: (from mail@fadesa.es) by fuego.fadesa.es (8.9.3/8.8.8) id RAA13971; Mon, 16 Dec 2002 17:42:37 +0100 Message-ID: <3DFE031C.B48D6C62@fadesa.es> Date: Mon, 16 Dec 2002 17:45:16 +0100 From: "=?iso-8859-1?Q?Jos=E9?= M. =?iso-8859-1?Q?Fandi=F1o?=" Reply-To: freebsd@fadesa.es Organization: Inmobiliaria FADESA X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.19-grsec i686) X-Accept-Language: gl, en, es MIME-Version: 1.0 To: Nicholas Esborn Cc: freebsd-multimedia@freebsd.org Subject: Re: Poor audio quality with festival and hw.snd.pcm0.vchans > 0 References: <20021210065650.GA9826@carbon.berkeley.netdot.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Logged: Logged by tierra.fadesa.es as RAA02168 at Mon Dec 16 17:41:25 2002 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 Nicholas Esborn wrote: > > Hello, > > I've been working with the new vchans on a Toshiba Satellite laptop: > > pcm0: at port 0x530-0x537,0x538-0x539,0xf8c-0xf94,0xe0e irq 5 drq 1 flags 0xc113 on isa0 > > If I turn hw.snd.pcm0.vchans up to 1 or more, festival sounds crackly > and terrible, but oddly, mpg123 sounded fine. I'm using the festival > freebsd16audio method. I also tried sun16audio (which didn't work at > all) and sunaudio (which also sounded terrible). > > Does anyone have any insight to offer? yes, I'm having the same problem with mplayer and virtual audio channels. When I activate them and I launch mplayer the sound has a nasty distortion in high frequencies, but xmms and friends works fine. to reproduce the problem just play a divx or a dvd movie: # sysctl hw.snd.pcm0.vchans=4 # mplayer -ao oss:/dev/dsp0.1 /cdrom/*avi I found a message of Arpi (mplayer main developer) which can explain this behaviour: ------------------------------------------------------------------------- xmms and other audio-only players don't use syncronization functions of teh audio driver - mplayer does. if it's broken, mplayer won't work, playback will be jerky. you can also try -autosync 30 (it will smooth/emulate the syncro stuff of oss) or -ao sdl or use alsa, it's much better than kernel's oss drivers or use oss commercial, it's even better than alsa - but costs money :( (but at least is compliant with the oss specs/standard, unlike teh kernel's broken-to-hell oss drivers...) A'rpi / Astral & ESP-team -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/IT d- s+:+() a- C+++ UBL+++$ P+ L+++ E--- W++ N+ o++ K- w--- O+ M+ V- PS+ PE+ Y++ PGP+>+++ t+ 5 X+$ R- tv-- b+++ DI D++>+++ G++ e- h+(++) !r !z ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message