*BSD News Article 26491


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!hp9000.csc.cuhk.hk!saimiri.primate.wisc.edu!sdd.hp.com!vixen.cso.uiuc.edu!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!netcomsv!netcom.com!hasty
From: hasty@netcom.com (Amancio Hasty Jr)
Subject: Re: [FreeBSD] Sound cards
Message-ID: <hastyCK6AGA.Gr2@netcom.com>
Keywords: sound, SouldBlaster, GUS
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
References: <1994Jan24.174351.13526@news.cs.indiana.edu>
Date: Tue, 25 Jan 1994 06:38:34 GMT
Lines: 48

In article <1994Jan24.174351.13526@news.cs.indiana.edu> "J. Shan Bell" <bellj@cs.indiana.edu> writes:
>
>	I've got a SoundBlaster Pro with which I've been able to play
>the example midi files.  I haven't been able to use the srec or splay
>software, though.  I really need to do recording so I was wondering
>about the GUS card.  From those who use it, would it be better for
>simple recording a playback or sounds?  I don't need to do midi or
>sequencing stuff.
>
I believe that I am the only on *BSD systems who has been able to
record with the GUS. It is very simple I modified the driver to enable
mic input when it opens /dev/audio for writing and the driver
disables mic input when it closes /dev/audio. Also, unless you
are running the linux sound verions 2.0 or later, the playback logic has
a bug in which it misses an interrupt from the card every once in
a while. The symptom is that the card repeats sounds.

The very latest version of the linux sound driver has a mixer to
enable line-in and mic-in. When the driver is ready, Hannu,
the author, will release the driver.

If you have a SBPRO you should be able to use the mixer provided
with the linux snd-utilites to enable mic input and record by 
catting from /dev/audio.

cat /dev/audio >foo.file
cat foo.file >/dev/audio to playback 

There should be a way to set the dsp frequency also, with the utilities.
If not try to get the SBPRO driver from ftp.bsdi.com and compile the
utility which sets the dsp frenquency using the linux driver include
files which should support also the old driver's interface.

Also try to record under dos to make sure that your hardware is
working correctly. I do this with my setup.

If none of the above works just e-mail me and we will see what 
we can do for you. 

	You will be able to record :-)
	Amancio


-- 
FREE unix, gcc, tcp/ip, X, open-look, interviews, tcl/tk, MIME, midi, sound
at  freebsd.cdrom.com:/pub/FreeBSD
Amancio Hasty,  Consultant |
Home: (415) 495-3046       |  
e-mail hasty@netcom.com	   |  ftp-site depository of all my work:    
ahasty@cisco.com           |  sunvis.rtpnc.epa.gov:/pub/386bsd/X