From owner-freebsd-multimedia@FreeBSD.ORG Mon May 24 00:18:11 2004 Return-Path: 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 6CFBB16A4CE for ; Mon, 24 May 2004 00:18:11 -0700 (PDT) Received: from dave.horsfall.org (mrdavi2.lnk.telstra.net [139.130.75.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A51D43D2D for ; Mon, 24 May 2004 00:18:09 -0700 (PDT) (envelope-from dave@horsfall.org) Received: from localhost (dave@localhost) by dave.horsfall.org (8.11.4/8.11.4) with ESMTP id i4O7H1G11729 for ; Mon, 24 May 2004 17:17:02 +1000 (EST) Date: Mon, 24 May 2004 17:17:01 +1000 (EST) From: Dave Horsfall To: FreeBSD Multi-Media Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Sound help for compleat novice X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2004 07:18:11 -0000 Is there a simple "how to" guide for getting sound to work with FreeBSD? The handbook seems to concentrate on playing MP3 files and ripping CDs. I suppose I'd better start from the beginning... FreeBSD 4.10-BETA, Acer MX3-W Pro m/board. dmesg | grep pcm: pcm0: port 0xdc00-0xdc3f,0xd800-0xd8ff irq 9 at device 31.5 on pci0 pcm0: cat /dev/sndstat: FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xd800, 0xdc00 irq 9 bufsz 16384 (1p/1r/0v channels duplex) mixer: Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 75:75 Mixer cd is currently set to 75:75 Mixer rec is currently set to 75:75 Mixer line1 is currently set to 75:75 Mixer phin is currently set to 0:0 Mixer phout is currently set to 0:0 Mixer video is currently set to 75:75 The sound works just fine when playing CDs or MP3 files, but how does one record? Not knowing any better, I plugged the audio source into the mic input, and just did a "cat /dev/audio". What I seemed to end up with was a raw .AU file, which few programs can recognise (I tried SoX and Audacity). If I copy it back to /dev/audio, I hear the original, but I have a feeling that I'm missing something. So, is there a "better" way? I'd be looking to produce MP3 or WAV. -- Dave