Music
Music can be imported with the button or by placing files in your project's assets/music folder.
Supported formats depend on the active Sound Driver:
- XGM2 / XGM —
.vgm,.xgm,.wav,.mtrk(Mini Tracker) - MDSDRV —
.mml
VGM is the recommended format for XGM2/XGM because it uses less ROM and has better quality. WAV files are converted to either 13.3 kHz or 6.65 kHz during build time — see Audio Settings for details.
You can also compose music directly inside MD Engine using the built-in Mini Tracker (grid-based tracker) or Mini Notator (text-based MML editor). Both support the full Mega Drive sound hardware and can export to VGM.
Music can be played in your game using the Play Music Track event in your Scene, Actor, Trigger or Custom scripts.
You can review the Sound Driver asset types section to find out more about the number of sound effects you can play at the same time.

