Modules/pt3/pt3 player

From MSX Game Library

Revision as of 23:09, 15 January 2024 by Aoineko (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Modules

pt3/pt3_player

Code: pt3/pt3_player.h

Category: Audio

Dependencies: None

Samples:

The pt3/pt3_player module lets you play music in Pro Tracker 3 format.

Note:

Usage

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

// PT3 options
#define PT3_SKIP_HEADER		TRUE	// Don't use PT3 data header (first 100 bytes must be truncated)
#define PT3_AUTOPLAY		TRUE	// Play music automatically
#define PT3_EXTRA			TRUE	// Add helper functions

Dependencies

Dependency on other modules: None

Documentation