README 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. Snatched from AdPlug 2.2.1:
  2. adlibemu.c
  3. adlibemu.h
  4. fmopl.c
  5. fmopl.h
  6. kemuopl.h
  7. opl.h
  8. temuopl.cpp
  9. temuopl.h
  10. mididata.h
  11. 1.2.2 Sound generation section
  12. ------------------------------
  13. The Sound generation section is responsible for generating the OPL's
  14. sound, according to the input of the Playback section. This sound is
  15. either routed back to the application for it to do something with it or
  16. routed directly to a specific audio hardware.
  17. The following headers provide the interface to the sound generation
  18. section: `emuopl.h', `temuopl.h', `kemuopl.h', `realopl.h',
  19. `silentopl.h', `analopl.h' and `diskopl.h'. All classes inside these
  20. headers are derived from the abstract base class `Copl', declared
  21. inside the file `opl.h', which provides the common interface for the
  22. Backend layer of the Playback section. This interface is not meant for
  23. the Frontend layer (i.e. your application). Your application, however,
  24. has to call special methods of these classes in order to route the data
  25. back, if there is any.
  26. `emuopl.h' provides the class `CEmuopl', which implements a virtual
  27. OPL emulator, which automatically selects the best available OPL chip
  28. emulation and type for each replayer.
  29. `temuopl.h' provides the class `CTEmuopl', which is a wrapper class
  30. around Tatsuyuki Satoh's fmopl OPL2 emulator, which generates wave
  31. audio data to be routed back to the application.
  32. `kemuopl.h' provides the class `CKemuopl', which is a wrapper class
  33. around Ken Silverman's adlibemu OPL2 emulator, which generates wave
  34. audio data to be routed back to the application.
  35. `realopl.h' provides the class `CRealopl', which outputs to a real
  36. hardware OPL2 or OPL3 chip. No data is routed back to the application.
  37. This class is currently only working on x86 hardware.
  38. `silentopl.h' provides the class `CSilentopl', which is a dummy
  39. OPL2/3, which generates nothing. All data sent to it is forgotten
  40. immediately. No data is routed back to the application.
  41. `analopl.h' provides the class `CAnalopl', which is the same as `CRealopl',
  42. but also provides a 9-channel loudness pseudo-analyzer interface for
  43. the application. The loudness data is the only data routed back to the
  44. application.
  45. `diskopl.h' provides the class `CDiskopl', which is an OPL3 emulator
  46. that does not output any sound to the soundcard, but instead writes all
  47. received OPL commands to a file in the RdosPlay RAW format.
  48. Patches can be found at:
  49. http://cd.textfiles.com/soundsensations/SYNTH/
  50. (list at http://cd.textfiles.com/soundsensations/NEWMENU/SYNTH.BBS )