Modules/vgm/lvgm player

From MSX Game Library

Revision as of 14:54, 15 January 2024 by Aoineko (talk | contribs) (Created page with "{{MODULE |name=vgm/lvgm_player |category=AudioFormat |image= |dependency1= |dependency2= |dependency3= |sample1=s_lvgm |sample2= |sample3= }}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Modules

vgm/lvgm_player

Code: vgm/lvgm_player.h

Category: AudioFormat

Dependencies: None

Samples:

The vgm/lvgm_player module lets you play music in light-VGM (lVGM).

Note: MSXzip tool can be used to generate lVGM data from VGM file.

Usage

To use this module, include "vgm/lvgm_player.h" in your source code, and add "vgm/lvgm_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):

// LVGM replayer options
#define LVGM_USE_PSG				TRUE
#define LVGM_USE_MSXMUSIC			TRUE
#define LVGM_USE_MSXAUDIO			TRUE
#define LVGM_USE_SCC				TRUE
#define LVGM_USE_SCCI				FALSE
#define LVGM_USE_PSG2				FALSE
#define LVGM_USE_OPL4				FALSE
#define LVGM_USE_NOTIFY				TRUE

Dependencies

Dependency on other modules: None

Documentation