From owner-freebsd-questions Sun Mar 9 13:33: 9 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DA3037B401 for ; Sun, 9 Mar 2003 13:33:08 -0800 (PST) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F98743FD7 for ; Sun, 9 Mar 2003 13:33:05 -0800 (PST) (envelope-from aaron-siegel@attbi.com) Received: from 192.168.0.6 (12-252-212-37.client.attbi.com[12.252.212.37]) by sccrmhc03.attbi.com (sccrmhc03) with SMTP id <2003030921330400300evl8ne>; Sun, 9 Mar 2003 21:33:04 +0000 From: Aaron Siegel Reply-To: freebsd-questions@freebsd.org To: freebsd-questions@freebsd.org Subject: Recording raw audio files under 5.0 Date: Sun, 9 Mar 2003 14:32:11 -0700 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303091432.11424.aaron-siegel@attbi.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello I am trying to record audio input to a raw audio file using the comand: $ cat /dev/dspW > audio.file.raw This produces and error "cannot open /dev/dsp [device busy]" (using dsp, dsp0.0....). I tried the command fstat | dsp (as recommended in the hand book), it did not find any application using that device. I do not have X running so KDE, GNOME, and what ever windows like programs are not running. I have check the /var directory for any locks, I did not find any. -dmesg: pcm0: port 0xf800-0xf8ff irq 5 at device 4.0 on pci0 -cat /dev/sndstat: FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at I/O port 0xf800 irq 5 (4p/0r/4v channels duplex default) -I have setup 4 virtual channel, following the instruction in the handbook. -I am able to play audio CD's and realplayer. I notice that the the devices audio, dsp, dspW ... do not exist, but the devices audio0.x, dsp0.x, dspW0.x .... do exist. Do I need to create the dsp, audio, dspW .... devices? What does the statment"(4p/0r/4v channels duplex default)" found in the output of the sndstat indicate? Thank you Aaron d To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message