From owner-freebsd-multimedia Wed Feb 16 18: 0:48 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from builder.freebsd.org (builder.FreeBSD.ORG [204.216.27.24]) by hub.freebsd.org (Postfix) with ESMTP id B896337B505 for ; Wed, 16 Feb 2000 18:00:46 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by builder.freebsd.org (Postfix) with ESMTP id 1F874132EB for ; Wed, 16 Feb 2000 17:59:53 -0800 (PST) Received: from cain.gsoft.com.au (doconnor@cain [203.38.152.97]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id MAA23256; Thu, 17 Feb 2000 12:30:15 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <88fjfq$2dp4$1@bigeye.rhein-neckar.de> Date: Thu, 17 Feb 2000 12:30:15 +1030 (CST) From: "Daniel O'Connor" To: (Christian Weisgerber) Subject: RE: Audio: how to record something? Cc: freebsd-multimedia@freebsd.org Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 17-Feb-00 Christian Weisgerber wrote: > Presumably there are plenty of tools under ports/audio/. Where to > start? Well, you can use cat or dd:) cat /dev/audio >foo - 8bit ulaw, 8kHz cat /dev/dspW >foo - 16bit linear, 8kHz (I think) etc.. You can play them back by cat'ing them back to the appropriate device. You could use sox to convert them to wav's.. I wrote my own program which does the right ioctl's on the device to change rate, number of channels etc, but I'm sure programs exist to do this :) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message