Modules/pcm/pcmplay
From MSX Game Library
< Modules
pcm/pcmplay
The pcm/pcmplay module lets you play sound sample in following format: PCM data is 8-bit mono PCM data at 8KHz/11KHz.
Usage
To use this module, include "pcm/pcmplay.h" in your source code, and add "pcm/pcmplay" to the modules list (LibModules) in your project's configuration file (project_config.js).
Conversion tool to generate PCM data can be found in folder tools\audio\pcmplay.
Check README.md there for detail about how to use the pcmplay tool.
Samples
See module use cases in the sample programs:
Settings
Library configuration (msxgl_config.h):
// PCMPlay // - PCMPLAY_8K // - PCMPLAY_11K #define PCMPLAY_FREQ PCMPLAY_8K #define PCMPLAY_USE_RESTORE FALSE
Dependencies
Dependency on other modules: None
Documentation