From owner-freebsd-questions Mon Jun 19 19:20:22 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA15279 for questions-outgoing; Mon, 19 Jun 1995 19:20:22 -0700 Received: from whisker.internet-eireann.ie (whisker.internet-eireann.ie [194.9.34.204]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id TAA15252 for ; Mon, 19 Jun 1995 19:20:14 -0700 Received: from localhost (localhost [127.0.0.1]) by whisker.internet-eireann.ie (8.6.11/8.6.9) with SMTP id DAA12631; Tue, 20 Jun 1995 03:20:40 +0100 X-Authentication-Warning: whisker.internet-eireann.ie: Host localhost didn't use HELO protocol To: questions@freebsd.org cc: ficnar@ecf.toronto.edu Subject: FICNAR FRANK G: Re: SB16 problems ... is there a fix yet? Date: Tue, 20 Jun 1995 03:20:40 +0100 Message-ID: <12629.803614840@whisker.internet-eireann.ie> From: "Jordan K. Hubbard" Sender: questions-owner@freebsd.org Precedence: bulk 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 ; 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 To: jkh@whisker.internet-eireann.ie Subject: Re: SB16 problems ... is there a fix yet? Newsgroups: comp.unix.bsd.freebsd.misc In-Reply-To: References: 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..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..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