From owner-freebsd-multimedia@FreeBSD.ORG Fri Apr 24 10:54:07 2015 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 34AC0FBF for ; Fri, 24 Apr 2015 10:54:07 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC61E18B5 for ; Fri, 24 Apr 2015 10:54:06 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 2CEAD1FE023; Fri, 24 Apr 2015 12:54:03 +0200 (CEST) Message-ID: <553A20FA.2070801@selasky.org> Date: Fri, 24 Apr 2015 12:54:50 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "Russell L. Carter" , freebsd-multimedia@freebsd.org Subject: Re: uaudio0 -> audacity not recording References: <5536BC53.4070107@pinyon.org> <55375172.8040605@selasky.org> <553805E1.80303@pinyon.org> In-Reply-To: <553805E1.80303@pinyon.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2015 10:54:07 -0000 On 04/22/15 22:34, Russell L. Carter wrote: > Hi Hans, > > On 04/22/15 00:44, Hans Petter Selasky wrote: >> >> Are you running a -stable or -current kernel? > > stable r281044 > >> Could you try to record using "sox", "play" and "rec" utilities instead? > > Good idea: > > rcarter@feyerabend> ls -lt /dev/dsp* > crw-rw-rw- 1 root wheel 0xaf Apr 22 13:21 /dev/dsp0.0 > rcarter@feyerabend> export AUDIODEV=/dev/dsp0.0 > rcarter@feyerabend> rec output.flac > > Input File : '/dev/dsp0.0' (ossdsp) > Channels : 2 > Sample Rate : 48000 > Precision : 16-bit > Sample Encoding: 16-bit Signed Integer PCM > > The cute little monitor line seems to be in sync with the audio I'm > hearing from the speakers being played through the UCA202. > > On playback in play or mpv, I get the same sort of garbled noise, > not very loud, that I hear on playback in audacity. > > There is no jackd or pulse, etc. I'm trying to keep the setup > as simple as necessary. > > It seems like I'm close... Could you check or dump: sysctl -a | grep pcm I wonder if there is a know we need to tune. --HPS