Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 1995 03:20:40 +0100
From:      "Jordan K. Hubbard" <jkh@freebsd.org>
To:        questions@freebsd.org
Cc:        ficnar@ecf.toronto.edu
Subject:   FICNAR  FRANK G: Re: SB16 problems ... is there a fix yet?
Message-ID:  <12629.803614840@whisker.internet-eireann.ie>

next in thread | raw e-mail | index | archive | help
I've never actually used my SB16 for recording - anyone here have an
answer for Frank?  Thanks!

					Jordan

------- Forwarded Message

Return-Path: <@cannon.ecf.toronto.edu:ficnar@ecf.toronto.edu>
Received: from cannon.ecf.toronto.edu (cannon.ecf.toronto.edu [128.100.8.5]) by whisker.internet-eireann.ie (8.6.11/8.6.9) with SMTP id DAA12515 for <jkh@whisker.internet-eireann.ie>; Tue, 20 Jun 1995 03:05:55 +0100
Received: by cannon.ecf.toronto.edu id <5340>; Mon, 19 Jun 1995 22:04:42 -0400
From: FICNAR  FRANK G <ficnar@ecf.toronto.edu>
To: jkh@whisker.internet-eireann.ie
Subject: Re: SB16 problems ... is there a fix yet?
Newsgroups: comp.unix.bsd.freebsd.misc
In-Reply-To: <JKH.95Jun18123630@whisker.internet-eireann.ie>
References: <DACM8I.IGr@ecf.toronto.edu>
Organization: University of Toronto, Engineering Computing Facility
Message-Id: <95Jun19.220442edt.5340@cannon.ecf.toronto.edu>
Date: 	Mon, 19 Jun 1995 22:04:40 -0400

Greetings,

	OK ... I am really foolish and can easily count myself among the
masses that don't read documentation well enough.  It turns out I forgot to
change the blah/blah/blah/sound/sound.<something>.h file so that the IRQ
entry in there matched the config file.  I changed that and now I get all
the sound output I could have ever wanted .... EXCEPT .... I still don't 
know how to record properly.  If I try cp /dev/audio test.au or
cp /dev/dsp test.au I get an "Interrupted system call" ... whatever that is
supposed to mean.  If I do cp /dev/dsp16 test.au it works and produces a file
but I don't quite know what it is recording but it is most definitely NOT
the audio from line-in or mic.  If I play it back through /dev/dsp16 I get 
an EXCELLENT reproduction of a 15kHz tone ... AMAZING!  It must have used 
some truely advanced encoding method to come up with that one!  Now, my aim 
is not to put anybody down here because audio recording is not CRUCIAL to my
sanity or anything.  I think FreeBSD is great and I could not ask for anything
more ... I am just having a bit of fun because it is late (for me) and I am
getting quite sleep and this right eye of mine is really bothering me because
I cannot quite focus it correctly anymore ... Anyway, I suppose my main 
question now is ... HOW DO I RECORD?

Frank Ficnar

	Oh ya, I was asked last time to include the relevant sections of my
config file so here they are ...

	controller      snd0
	device sb0      at isa? port 0x220 irq 5 drq 1 vector sbintr
	device sbxvi0   at isa? drq 5
	device sbmidi0  at isa? port 0x330
	device opl0     at isa? port 0x388

	The IRQ is correct and the DRQ (which I assume is the DMA channel)
is correct in the sb0 entry if that refers to 8-bit.  The DRQ for sbxvi0 is
correct if that refers to a 16-bit channel.  All the addresses are correct
as well.  I also changed the appropriate lines in sound.<something>.h 
concerning the IRQ and the DRQ for the assumed 16-bit channel (it used to
read 6.)

MANY, MANY Thanks for your help.

- -- 
==========================================
   Frank Ficnar  ficnar@ecf.toronto.edu
    http://www.ecf.toronto.edu/~ficnar
- ------------------------------------------

------- End of Forwarded Message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12629.803614840>