ScummVM API documentation
Freescape::CastleOPLMusicPlayer Class Reference

#include <opl.music.h>

Inheritance diagram for Freescape::CastleOPLMusicPlayer:
Freescape::MusicPlayer

Public Member Functions

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

Detailed Description

OPL2/AdLib music player for Castle Master DOS.

Adapts the Castle Master C64 title music to the OPL2 FM chip by:

  • Reusing compact note, rest, and instrument pattern events
  • Converting SID note numbers to OPL F-number/block pairs
  • Mapping the original voice changes to OPL FM instrument patches

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