From owner-freebsd-newbies@FreeBSD.ORG Wed Jun 18 09:43:10 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19F0A37B401; Wed, 18 Jun 2003 09:43:10 -0700 (PDT) Received: from storrs.net (dhcp137.santafe.edu [192.12.12.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43A9643F85; Wed, 18 Jun 2003 09:43:09 -0700 (PDT) (envelope-from carl@storrs.net) Received: from xi.storrs.net (localhost [127.0.0.1]) by xi.storrs.net (8.12.6/8.12.6) with ESMTP id h5G4vB15006480; Mon, 16 Jun 2003 00:57:11 -0400 (EDT) (envelope-from carl@xi.storrs.net) Received: (from carl@localhost) by xi.storrs.net (8.12.6/8.12.6/Submit) id h5G4vAhu006479; Mon, 16 Jun 2003 00:57:10 -0400 (EDT) Date: Mon, 16 Jun 2003 00:57:10 -0400 From: Carl McTague To: freebsd-newbies@freebsd.org, freebsd-multimedia@freebsd.org Message-ID: <20030616045710.GA6358@xi.storrs.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.7-RELEASE i386 Subject: choppy dsp (mono/stereo problem?) X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2003 16:43:10 -0000 Hi, I'm trying to use ohphone, but am having a low-level problem with sound-in; it sounds choppy; it sounds as though a mono signal encoded in stereo with a silent channel is being misinterpreted as a single mono stream. For example, if the sound was abcd it plays back a0b0c0d0 (where 0 is silence). I can reproduce the same choppyness by running: wavrec test.wav (installed from the ports). But in this case, I can fix it by doing wavrec -S test.wav where -S "set[s] stereo mode." I get the same thing within xwave by changing between mono and stereo record modes. Furthermore, I if I do cat /dev/audio > test.raw cat test.raw > /dev/audio I get a similar (but somewhat more severe) choppiness. Any ideas? I'm using 4.7-RELEASE and (carl@xi:~) cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xd800, 0xdc80 irq 11 bufsz 16384 (1p/2r/0v channels duplex) Thanks.