Modules/vgm/vgm player

From MSX Game Library

Revision as of 14:54, 15 January 2024 by Aoineko (talk | contribs) (Created page with "{{MODULE |name=vgm/vgm_player |category=AudioFormat |image=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_vgm.jpg |dependency1= |dependency2= |dependenc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Modules

vgm/vgm_player

Code: vgm/vgm_player.h

Category: AudioFormat

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