Introduction
An .stm music file is a module of Scream Tracker 2, a song stored as patterns of notes with the
digital samples that play them. Several other programs wrote the format as well.
Structure
The header begins with a 20-byte song name and an 8-byte tracker name, often !Scream!, then the
byte 1A, a file type (1 for a song, 2 for a module), the version, the starting tempo, the number
of patterns, the global volume and reserved bytes. Sample headers, the order list, patterns and sample data
follow.
Not described
This page is a first outline. The details of the layout are not yet described here.
Known, not yet covered
- Reference: the sample headers, pattern encoding, tempo and effects, which open source module players show.
- Viewer: the site has no viewer for this format.
Links
Software
- OpenMPT – module tracker and player for Windows
Reference
- OpenMPT Load_stm.cpp – the STM loader, the source used for this page (C++)