Difference between revisions of "Modules/wyz/wyz player"
From MSX Game Library
< Modules
(Created page with "{{MODULE |name=wyz/wyz_player |category=AudioFormat |image=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_wyz.png |dependency1= |dependency2= |dependenc...") |
|||
Line 1: | Line 1: | ||
{{MODULE | {{MODULE | ||
|name=wyz/wyz_player | |name=wyz/wyz_player | ||
− | |category= | + | |category=Audio |
|image=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_wyz.png | |image=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_wyz.png | ||
|dependency1= | |dependency1= |
Latest revision as of 00:10, 16 January 2024
wyz/wyz_player
The wyz/wyz_player module lets you play music in WYZ Tracker format. This module use replayer version WYZ 47c.
Usage
To use this module, include "wyz/wyz_player.h" in your source code, and add "wyz/wyz_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):
// WYZ Tracker replayer options // Channels number // - WYZ_3CH // - WYZ_6CH #define WYZ_CHANNELS WYZ_3CH // Number of supported channels (can be 3 for 1 PSG or 6 for 2 PSG) #define WYZ_USE_DIRECT_ACCESS FALSE // Send data directly to PSG registers (otherwise, write in a RAM buffer) #define WYZ_CHAN_BUFFER_SIZE 0x20 // Size of the channel buffer
Dependencies
Dependency on other modules: None
Documentation