From owner-freebsd-multimedia@freebsd.org Thu Jul 5 07:48:08 2018 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E639102FEB2 for ; Thu, 5 Jul 2018 07:48:08 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id F06378DF73 for ; Thu, 5 Jul 2018 07:48:07 +0000 (UTC) (envelope-from hps@selasky.org) Received: by mailman.ysv.freebsd.org (Postfix) id AA53E102FEA5; Thu, 5 Jul 2018 07:48:07 +0000 (UTC) Delivered-To: multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97C3F102FEA0 for ; Thu, 5 Jul 2018 07:48:07 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (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 CF54A8DF67 for ; Thu, 5 Jul 2018 07:48:06 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (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 7B7F226032A; Thu, 5 Jul 2018 09:48:04 +0200 (CEST) Subject: Re: Audio recording from USB To: Kevin Oberman , multimedia@freebsd.org References: From: Hans Petter Selasky Message-ID: <07c88807-a86b-4c33-c418-e0e15ddc4f80@selasky.org> Date: Thu, 5 Jul 2018 09:47:45 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2018 07:48:08 -0000 On 07/04/18 23:41, Kevin Oberman wrote: > I have an Audio-technia turntable with USB output and I want to use > audacity to record from it. I have read the sound, mixer, and snd_uaudio > man pages, but am still unable to get the configuration correct. sndstat > shows the device (pcm4) but mixer only lists pcm0, the Conexant CX20590, > which is marked as default in sndstat. > > Messages on connection: > uaudio0 on uhub3 > uaudio0: 2.00/1.00, addr 3> on usbus1 > uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. > uaudio0: Play: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. > uaudio0: Play: 32000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. > uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. > uaudio0: Record: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. > uaudio0: Record: 32000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. > uaudio0: Record: 22050 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. > uaudio0: Record: 16000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. > uaudio0: Record: 11025 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. > uaudio0: No MIDI sequencer. > pcm4: on uaudio0 > uaudio0: HID volume keys found. > > Installed devices: > pcm0: (play/rec) default > pcm1: (play) > pcm2: (play) > pcm3: (play) > pcm4: (play/rec) > > mixer -f /dev/mixer4 shows: > Mixer vol is currently set to 75:75 > Mixer pcm is currently set to 75:75 > No line or mic. > > I tried "cat /dev/dsp4.0" and got the expected stream of "junk" that looks > like it is getting data from the turntable. "junk" changes when I play > something, so I think the hardware is all working to some degree. > > Can anyone suggest where to go from here? Did you try: sysctl -a hw.snd.default_unit=4 --HPS