home *** CD-ROM | disk | FTP | other *** search
- NOTE: This document only describes the EsounD specific
- information you need to know. Read README as well.
-
- Using MikMod with the EsounD driver
- -----------------------------------
-
- 1. Warning
-
- The Enlightened Sound Daemon (EsounD) is still experimental and may
- change a lot until it reaches the 1.0 release. Thus, this MikMod version
- might not work with future versions of EsounD.
-
- The version of the MikMod EsounD driver coincides with the latest EsounD
- release available when this version of MikMod was released ; for the 3.1.2
- release, this is EsounD v 0.2.6, but MikMod should work with any 0.2.x
- version.
-
-
- 2. Usage
-
- Run the daemon on the machine you want to play the songs :
-
- $ esd &
-
- On the machine you want to run MikMod, set the ESPEAKER environment
- variable to the name of the machine runinng esd, with setenv if your
- shell is c-shell compatible, or export if your shell is bourne
- compatible :
-
- $ export ESPEAKER=soundbox.mydomain
-
- Then, you'll have to determine which driver number is affected to the
- EsounD driver :
-
- $ mikmod -l | grep EsounD
- 2. Enlightened sound daemon (EsounD) driver v0.2.6
-
- In this case, this is driver number 2.
-
- You're now ready to play modules from the other machine audio device.
- Simply add the "-d 2" parameter to your MikMod command line, for
- example :
-
- $ mikmod -F -n -i -d 2 ~/modules/*
-
- On most platforms, the enlightened sound daemon will be the first
- driver, so the "-d 1" won't be needed.
-
- If the esd daemon dies, MikMod will try to reconnect every 5 seconds and
- every new module, if the module ends. So, you can safely restart esd and
- wait 5 seconds, and voila ! Sound is back...
-
-
- 3. Caveats
-
- If you run esd and MikMod on the same machine, everything should work
- fine. However, if there is a real network connection (i.e. MikMod and esd
- don't run on the same box) synchronization problems can occur.
-
- If sound clicks or gets chopped, then you've likely got a synchronization
- problem. Pausing the player for a second should cause the problem to
- disappear. If there's still problems, perhaps your network is not fast
- enough. Lowering the playback rate (for example, from 44100 Hz to 22050 Hz
- with -f 22050) will hopefully solve the problem.
-
- Also, the performance of the esd is really abominable if the esd playback
- frequency can't be divided by the MikMod playback rate. For example,
- runinng MikMod at 42000 Hz with esd at 44100 Hz will sound horrible, and
- take a lot of CPU time due to resampling.
-