Many of the controls aren't available if you only
install the driver without loading any DSP code. In other words, if you
want the most out of your SB Live, you need more tools than just the driver.
What follows is some of the things I've discovered in doing a bit of tinkering.
This is by no means an exhaustive set of possiblities. I'm sure that many
more features and configurations are possible if you have the patience
to figure things out. Unfortunately, the avialable documentation is pretty
Download this package and unzip the source into some directory. Then do a "make" followed by a "make install". This will create a bunch of files.
The most important are:
/usr/local/etc/emu-scriptThere are also a bunch of files installed in /usr/local/share/emu10k1. These are files that are downloaded to the DSP for various effects such as tone controls and surround sound.
There are also man pages
installed for the various tools.
In order to get things going when you boot up the system, you need to execute the scripts for the DSP code after the driver is loaded. To do this, you need to modify your /etc/modules.conf file as follows:
Add the lines:
alias sound emu10k1Make sure you remove any references to other sound drivers or setups that you don't need. In essence all you really need are the 2 lines above.
post-install emu10k1 /usr/local/etc/emu-script
The /usr/local/etc/emu10K1.conf file needs to be set up with the options you want enabled. As you read it, it's pretty self-explanatory. For example if you want tone controls, just make sure that you have the ENABLE_TONE_CONTROL set to "yes" and so on.
If you want to do more exotic things, you will need to add to or otherwise modify the /usr/local/etc/emu-script. For example, as written, the emu-script only gives you tone controls for PCM data (wave files, realplayer, and such). If you want tone controls to work on your cd player you need to hack the script a bit.
In my case, the CD player is on CD-Spdif which
shows up as Digital 1 in the mixer. To get the tone controls to work for
this do the following:
Open /usr/local/etc/emu-script in your favorite text editor.Now when you restart your system, your tone controls will also work for a CD connected to the SPDIF inputs. To test it, you can just run the script as root.
Look for a line that reads:if [ "$ENABLE_TONE_CONTROL" = yes ] ; thenA bit below that find the lines:$DSPMGR -l"Pcm L" -f$DSPPATH/$TONE -cbass -mbass -ctreble -mtrebleNow add two more lines as follows immeddiately after the lines above:
#The next 3 'inherit' the oss control of the above line:
$DSPMGR -l"Pcm R" -f$DSPPATH/$TONE
$DSPMGR -l"Pcm1 L" -f$DSPPATH/$TONE
$DSPMGR -l"Pcm1 R" -f$DSPPATH/$TONE
These actually set up the tone controls on the Pcm L and Pcm R inputs.$DSPMGR -l"CD-Spdif L" -f$DSPPATH/$TONE
$DSPMGR -l"CD-Spdif R" -f$DSPPATH/$TONE
The readme files in the various subdirectories of the emu-tools give a bit of help and there are the man pages for the various other tools.
The tools are:
as10k1 - The DSP code assembler.If you come up with other interesting things for the SB Live, I'll be glad to include them here with credit given to the author. Just e-mail me at email@example.com or post to the public forums for the project at sourceforge
emu-dspmgr - A manager for the DSP.
emu-config - A configuration tool
play-ac3 - An ac3 player
play-raw - A wave player.