From owner-freebsd-multimedia@freebsd.org Wed Jul 4 21:41:12 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 7ABCC103F940 for ; Wed, 4 Jul 2018 21:41:12 +0000 (UTC) (envelope-from kob6558@gmail.com) 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 0F93374D49 for ; Wed, 4 Jul 2018 21:41:12 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id C3202103F93D; Wed, 4 Jul 2018 21:41:11 +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 845BD103F93C for ; Wed, 4 Jul 2018 21:41:11 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ua0-x229.google.com (mail-ua0-x229.google.com [IPv6:2607:f8b0:400c:c08::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C9A774D46 for ; Wed, 4 Jul 2018 21:41:11 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ua0-x229.google.com with SMTP id n4-v6so4187196uad.6 for ; Wed, 04 Jul 2018 14:41:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=ODU15I51N3p1PEenUZYm7BwpmRGUkpNCYhGKvDiSBQg=; b=js0fYftk2APAXZ/W8nS6SvWvrX5KKLRCuCE3/5gGkoO0NHPEmN5TknxUuyAbZWkPYe 4qnK+tFhgmMFsOsL9VQCw2N+K1nMV/cU43Zv/p+am16p+gt52PipTK1ZO+gag4WxkFso pk9KVWcbYJ8XzV10j8Xg5/4/vfG7OFG8ZLst2EJMBlgdCJFUYJhtVWf+vJll+E0BJrTw D4icNtj3m3JxP4DEh/Tg4YoAB/3zGuQOBY39v62hz16D6jfF1IoiZRJ/oH8SfMq5CJwy IyVtv8npGFlooJdlFT2WqXOBmsRRzGL9BHIWHDXjZAJY+Z5VWF7nrHM4BD6DGwnR0Gjb Rg8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=ODU15I51N3p1PEenUZYm7BwpmRGUkpNCYhGKvDiSBQg=; b=gyYRMmeAXY2zDt6reW/Nd+QXm9gGPA2u2z1TYzj8yvQ4maCeO5fZZIwd6brYRYz3v7 vJGp0iA5aiTsKpgTJ+FpAaFRmlePAl/qinqfW1/pA3QD0fHhErpKTrbrHle2saJcKvo2 /Wr/8548Nr5WCawnx5iJ85yqDGhveqfxIKy5WfSJHoS9jFRe9f8a57HmkHLgx0HCIcs+ aI5mgPutDobxNX0Mhb4r92hjyqkiEAsn30EnVy2zzfWlPBr179+3Hd5twuUy87DdVmL5 SXT8VppqKsfsrguOReiGckrOaFeJOM9EtR25J0o7SAG87kWYj9XqYkuOiOc4BMgv3Mjt w/yA== X-Gm-Message-State: APt69E1w2NZr0/iFEJPGQ8XZHG2BdMLzmecrsupMozAas8wuwPZwsekg 4tc5uc3+gk1mEa5rPpSgQLoTQ6YdbS/+JfgbenT4Xg2m X-Google-Smtp-Source: AAOMgpf000aOYwGFHIXtZkKDUuJzqQJ5SsqAsYAzN1wVRbFFAf5x06uPpQdXPV8ZwZhOdDzAShegWkip/w1CM4IPfL4= X-Received: by 2002:ab0:19c2:: with SMTP id r2-v6mr2138090uai.110.1530740469882; Wed, 04 Jul 2018 14:41:09 -0700 (PDT) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 2002:a67:8f07:0:0:0:0:0 with HTTP; Wed, 4 Jul 2018 14:41:09 -0700 (PDT) From: Kevin Oberman Date: Wed, 4 Jul 2018 14:41:09 -0700 X-Google-Sender-Auth: z--eE9Vu-A7Bz_R71R9Yv3qrPaE Message-ID: Subject: Audio recording from USB To: multimedia@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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: Wed, 04 Jul 2018 21:41:12 -0000 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: 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? -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683