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

From MSX Game Library

< Modules

m (Aoineko moved page Modules/wyz/wyz2 player to Modules/wyz/wyz player2 without leaving a redirect)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{MODULE
 
{{MODULE
 
|name=wyz/wyz_player2
 
|name=wyz/wyz_player2
|category=AudioFormat
+
|category=Audio
 
|image=
 
|image=
|dependency1=
+
|dependency1=psg
 
|dependency2=
 
|dependency2=
 
|dependency3=
 
|dependency3=

Latest revision as of 00:20, 16 January 2024

wyz/wyz_player2

Code: wyz/wyz_player2.h

Category: Audio

Dependencies:

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:

Documentation