
Emu10K1 is a Perl module for controlling the linux emu10k1 driver. It provides
the Perl programmer with most of the functionality of the emu-dspmgr(1) tool,
in the form of Perl subroutines.

Currently, the following subroutines are available:

Emu10K1::loadPatch    loads a patch into the DSP.
Emu10K1::unloadPatch  unloads a patch.
Emu10K1::setGpr       manipulates values in control GPRs.
Emu10K1::getGpr       retrieves values from control GPRs.
Emu10K1::dspStop      stops the DSP
Emu10K1::dspStart     starts the DSP

To build the module, you need to have the emu10k1 driver sources available
somewhere. Unpack the Emu10K1 tarball, cd to the Emu10K1 directory, and, if
necessary, edit the following files:

1. At the top of Makefile.PL, make sure the line:

    $DSPMGRDIR = "/usr/src/emu10k1/utils/mixer";
  
  refers to the correct location (the Makefile needs it to find libdsp and
  include files.)
  
2. At the top of test.pl, make sure the line:

    $effects_dir = "/usr/local/share/emu10k1";
  
  refers to the location of compiled DSP patches.

Now, run the following:  

  $ perl Makefile.PL
  $ make
  $ make test

And if everything is all right, do

  $ make install

This will install the Perl module and man page on your system. Type

  $ man Emu10K1 

to read the docs.


Version: 0.1, 15 Nov 2001
O. Smirnov <smirnov@astron.nl>

