Introduction
A .ym music file records the values written to an AY-3-8910 or YM2149 sound chip, the kind used
in the Atari ST and Amstrad CPC. A player feeds them to an emulated chip to reproduce the tune. The format was
designed by Leonard of Oxygene for the ST-Sound player.
Structure
The file as distributed is usually an LHA archive holding a single file. That file starts with a signature
such as YM3!, YM5! or YM6!. In versions 5 and 6 the check string
LeOnArD! follows, then big-endian fields including the number of frames, the number of digital
samples and the frame rate, the samples, and the title, composer and comment as zero-ended strings. The
register data comes after.
Not described
This page is a first outline. The details of the layout are not yet described here.
Known, not yet covered
- Reference: each version's header, the order of the register data and the special effects.
- Viewer: the site has no viewer for this format.
Links
Developers
- StSound – C++ library that plays YM files, no longer developed
Reference
- VGMPF: YM – overview of the versions and players
- Open Cubic Player ymtype.cpp – reads the signatures and the YM5 and YM6 header (C++)