Difference between revisions of "Modules/vgm/lvgm player"

From MSX Game Library

< Modules

(Created page with "{{MODULE |name=vgm/lvgm_player |category=AudioFormat |image= |dependency1= |dependency2= |dependency3= |sample1=s_lvgm |sample2= |sample3= }}")
 
 
Line 1: Line 1:
 
{{MODULE
 
{{MODULE
 
|name=vgm/lvgm_player
 
|name=vgm/lvgm_player
|category=AudioFormat
+
|category=Audio
 
|image=
 
|image=
 
|dependency1=
 
|dependency1=

Latest revision as of 23:10, 15 January 2024

vgm/lvgm_player

Code: vgm/lvgm_player.h

Category: Audio

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