Difference between revisions of "Modules/wyz/wyz player2"

From MSX Game Library

< Modules

(Created page with "{{MODULE |name=wyz/wyz2_player |category=AudioFormat |image= |dependency1= |dependency2= |dependency3= |sample1=s_wyz2 |sample2= |sample3= }}")
 
Line 1: Line 1:
 
{{MODULE
 
{{MODULE
|name=wyz/wyz2_player
+
|name=wyz/wyz_player2
 
|category=AudioFormat
 
|category=AudioFormat
 
|image=
 
|image=

Revision as of 13:57, 15 January 2024

wyz/wyz_player2

Code: wyz/wyz_player2.h

Category: AudioFormat

Dependencies: None

Samples:

The wyz/wyz_player module lets you play music in WYZ Tracker format. This module use replayer version WYZ 47d and allow to use 2 PSG (internal one plus and external one) to replay music on 6 channels.

Usage

To use this module, include "wyz/wyz_player2.h" in your source code, and add "wyz/wyz_player2" 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