*BSD News Article 42252


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!agate!howland.reston.ans.net!cs.utexas.edu!utnut!cannon.ecf!ficnar
From: ficnar@ecf.toronto.edu (FICNAR  FRANK G)
Subject: Recording from SB16 using FreeBSD 2.0
Message-ID: <D3qvFJ.FG9@ecf.toronto.edu>
Sender: news@ecf.toronto.edu (News Administrator)
Organization: University of Toronto, Engineering Computing Facility
Date: Thu, 9 Feb 1995 18:02:04 GMT
Lines: 33

Greetings,

	I've managed to rebuild my kernel to support my SB16 card.  When it
boots I see the usual messages saying that it found various SB16 components at
various addresses and IRQ's etc.  I can play AU files fine using ...

		cp "au-file" /dev/audio

but I don't know how to record.  I've tried the following ...
		
		cp /dev/audio "au-file"
	
			AND

		cat /dev/audio > "au-file"

and both appear to be writing to the file since it gets quite large, but the
data is always fffffffffffffffffffffffffffffffffffff or some other such
sequence all the way through the file.  How can I tell where the SB16 is
recording from.  I'd like to to record from Line-In but I don't know where to
set this.  I've also tried the above with /dev/dsp and /dev/dsp16 etc. but
all I get there is some message claiming a System Interrupt (or something
like that.)  I'm really just looking for a simple way to control the SB16
card from the command line.  I don't care the build and install a complete
application just to play and record sound.

	Any help or advice would be most appreciated.

	Many thanks.

Frank Ficnar
ficnar@ecf.toronto.edu