"The Linux Gazette...making Linux just a little more fun!"


(?) The Answer Guy (!)


By James T. Dennis, tag@lists.linuxgazette.net
Starshine Technical Services, http://www.starshine.org/


(?) OPL-3 Sound Drivers

From Jeferson Oliveira Andeluz on Sat, 06 Feb 1999

(?) My name is Jeferson, I live in Sao Paulo, the biggest city of Brazil...

I seek for all web sites for this driver and I can't find one to make a download for this driver...

Please, if you know how can I give this driver, tell me, because my pc doesn't have any sound and it's very boring....

(!) Some OPL-3 sound drivers are included in the mainstream Linux kernel sources. You just select them at compile time (cd /usr/src/linux; make menuconfig)
You can test your sound drives by finding a .wav, .mod, .au or other sound files and issuing the 'play' command on them. (The 'play' command is part of the 'sox' (sound exchange) package). This ships with most general distributions --- though you might not have installed it.
Here's a command to find all of these sound files on a typical Linux system:
locate / | egrep "\.(au|mod|wav)$"
... you can do a sanity check on those with a similar command:
locate / | egrep "\.(au|mod|wav)$" | xargs file
... the 'file' command will identify them as some form of audio file if there contents match their filename extensions.
Here's a sneaky little script I call 'ftype' that filters a list of filenames based on the type reported by the 'file' command:
#!/bin/sh
## This uses the 'file' command to filter out filenames whose
## contents don't match our spec
##
while read i ; do
    file "$i" | grep -q "$*" && echo "$i"
done
You'd call this with a command like:
locate / | egrep "\.(au|mod|wav)$" | ftype audio
... so you could play every sound on your system with a command like:
locate / | egrep "\.(au|mod|wav)$" | ftype audio | xargs -l play
(scary!)
I've talked about sound card support before:
The Answer Guy 34: Finding Soundcard Support
http://linuxgazette.net/issue34/tag/sound.html
So, check those links and see if that helps.

(?) Thanks for your hear me...

I'll wait for your reply.... Jeferson


Copyright © 1999, James T. Dennis
Published in The Linux Gazette Issue 38 March 1999


[ Answer Guy Index ] 1 2 3 4 5 6 7 8 9 10 11
12   14   16 17 18 19   21 22
23 24   26   28 29 30 31 32  


[ Table Of Contents ] [ Front Page ] [ Previous Section ] [ Next Section ]