home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1999 February / PCO_0299.ISO / filesbbs / linux / mikmod-3.000 / mikmod-3 / mikmod-3.1.2 / README.EsounD < prev    next >
Encoding:
Text File  |  1998-12-07  |  2.4 KB  |  70 lines

  1. NOTE: This document only describes the EsounD specific
  2. information you need to know. Read README as well.
  3.  
  4. Using MikMod with the EsounD driver
  5. -----------------------------------
  6.  
  7. 1. Warning
  8.  
  9. The Enlightened Sound Daemon (EsounD) is still experimental and may
  10. change a lot until it reaches the 1.0 release. Thus, this MikMod version
  11. might not work with future versions of EsounD.
  12.  
  13. The version of the MikMod EsounD driver coincides with the latest EsounD
  14. release available when this version of MikMod was released ; for the 3.1.2
  15. release, this is EsounD v 0.2.6, but MikMod should work with any 0.2.x
  16. version.
  17.  
  18.  
  19. 2. Usage
  20.  
  21. Run the daemon on the machine you want to play the songs :
  22.  
  23. $ esd &
  24.  
  25. On the machine you want to run MikMod, set the ESPEAKER environment
  26. variable to the name of the machine runinng esd, with setenv if your
  27. shell is c-shell compatible, or export if your shell is bourne
  28. compatible :
  29.  
  30. $ export ESPEAKER=soundbox.mydomain
  31.  
  32. Then, you'll have to determine which driver number is affected to the
  33. EsounD driver :
  34.  
  35. $ mikmod -l | grep EsounD
  36.  2. Enlightened sound daemon (EsounD) driver v0.2.6
  37.  
  38. In this case, this is driver number 2.
  39.  
  40. You're now ready to play modules from the other machine audio device.
  41. Simply add the "-d 2" parameter to your MikMod command line, for
  42. example :
  43.  
  44. $ mikmod -F -n -i -d 2 ~/modules/*
  45.  
  46. On most platforms, the enlightened sound daemon will be the first
  47. driver, so the "-d 1" won't be needed.
  48.  
  49. If the esd daemon dies, MikMod will try to reconnect every 5 seconds and
  50. every new module, if the module ends. So, you can safely restart esd and
  51. wait 5 seconds, and voila ! Sound is back...
  52.  
  53.  
  54. 3. Caveats
  55.  
  56. If you run esd and MikMod on the same machine, everything should work
  57. fine. However, if there is a real network connection (i.e. MikMod and esd
  58. don't run on the same box) synchronization problems can occur.
  59.  
  60. If sound clicks or gets chopped, then you've likely got a synchronization
  61. problem. Pausing the player for a second should cause the problem to
  62. disappear.  If there's still problems, perhaps your network is not fast
  63. enough. Lowering the playback rate (for example, from 44100 Hz to 22050 Hz
  64. with -f 22050) will hopefully solve the problem.
  65.  
  66. Also, the performance of the esd is really abominable if the esd playback
  67. frequency can't be divided by the MikMod playback rate. For example,
  68. runinng MikMod at 42000 Hz with esd at 44100 Hz will sound horrible, and
  69. take a lot of CPU time due to resampling.
  70.