ScummVM API documentation
Freescape::EclipseOPLMusicPlayer Class Reference

#include <opl.music.h>

Inheritance diagram for Freescape::EclipseOPLMusicPlayer:
Freescape::MusicPlayer

Public Member Functions

void startMusic () override
 
void stopMusic () override
 
bool isPlaying () const override
 

Detailed Description

OPL2/AdLib music player for Total Eclipse DOS.

Ports the Wally Beben C64 SID music to the OPL2 FM chip by:

  • Reusing the same sequencer (order lists, patterns, instruments)
  • Converting SID note numbers to OPL F-number/block pairs
  • Mapping SID waveforms to OPL FM patches, and noise to rhythm mode
  • Driving the OPL envelope generator from the SID ADSR

The documentation for this class was generated from the following file: