Modules/vgm/vgm player

From MSX Game Library

< Modules

vgm/vgm_player

Code: vgm/vgm_player.h

Category: Audio

Dependencies: None

Samples:

The vgm/vgm_player module lets you play music in VGM format.

Usage

To use this module, include "vgm/vgm_player.h" in your source code, and add "vgm/vgm_player" to the modules list (LibModules) in your project's configuration file (project_config.js).


Samples

See module use cases in the sample programs:

Settings

Library configuration (msxgl_config.h):

// VGM supported chip
#define VGM_USE_PSG				TRUE	// Allow PSG data parsing and audio output
#define VGM_USE_MSXMUSIC		TRUE	// Allow MSX-Music data parsing and audio output
#define VGM_USE_MSXAUDIO		TRUE	// Allow MSX-Audio data parsing and audio output
#define VGM_USE_SCC				TRUE	// Allow SCC data parsing and audio output

Dependencies

Dependency on other modules: None

Documentation