Difference between revisions of "Modules/pt3/pt3 player"
From MSX Game Library
< Modules
|  (Created page with "{{MODULE |name=pt3/pt3_player |category=AudioFormat |image=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pt3.jpg |dependency1= |dependency2= |dependenc...") | |||
| Line 1: | Line 1: | ||
| {{MODULE | {{MODULE | ||
| |name=pt3/pt3_player | |name=pt3/pt3_player | ||
| − | |category= | + | |category=Audio | 
| |image=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pt3.jpg | |image=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pt3.jpg | ||
| |dependency1= | |dependency1= | ||
Latest revision as of 23:09, 15 January 2024
pt3/pt3_player
The pt3/pt3_player module lets you play music in Pro Tracker 3 format.
Note:
- PT3 player can be used in combination with ayfx/ayfx_player module to add support for SFX.
- You can create PT3 track using Vortex Tracker II.
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
