Difference between revisions of "Modules/ndp/ndp player/Usage"

From MSX Game Library

< Modules‎ | ndp/ndp player

Line 1: Line 1:
 +
Before using any functions of this module, you must call <tt>NDP_Initialize()</tt> first.
 +
 
=== Music ===
 
=== Music ===
 
You can play back music generated with the [https://ndp.squares.net/web NDP editor] (the music is created using the MML language). The editor is currently only available in Japanese.
 
You can play back music generated with the [https://ndp.squares.net/web NDP editor] (the music is created using the MML language). The editor is currently only available in Japanese.

Revision as of 20:53, 12 October 2025

Before using any functions of this module, you must call NDP_Initialize() first.

Music

You can play back music generated with the NDP editor (the music is created using the MML language). The editor is currently only available in Japanese.

MSXgl use .NDP binary file data. It can be generated from the editor pressing ALT+F (ファイル) then ALT+B (名前を付けて曲データをBSAVE形式で保存).

This binary file include a 7 bytes header used by BASIC's BSAVE/BLOAD instructions. You have to either cut this header or just pass the starting address of binary data offset by 7 bytes.


SFX