S3M (file format)
|Internet media type|
|Magic number||"SCRM" (4 characters) at offset 44|
|Developed by||Sami Tammilehto|
|Type of format||Module file format|
|Extended from||STM, MOD|
S3M (ScreamTracker 3 Module) is a module file format, the successor to the STM format used by the original Scream Tracker. Both formats are based on the original MOD format used on the Commodore Amiga computer.
The S3M format has many differences compared to its predecessors.
- The format is a hybrid of digital playback and synthesized instruments. The official format specification document covers space for 16 digital channels and 14 synthesized ones with two unused slots out of a total of 32.
- Separate volume channel in pattern data.
- Supports more instruments than MOD or STM (99 instead of 31).
- Default panning of channels can be specified by the composer.
- Extra-fine pitch slides are added
- Instruments are not limited to a fixed sample rate for a given note. The format stores the instrument's sample rate at middle C.
The period table used by S3M is smaller than the one used by the MOD format (only 12 entries, compared to between 36 and 60 for the MOD variations) and uses larger values in order to be able to compute the extra-fine pitch slides. The playback routines, however, use relatively straightforward formulas to get the final period values used in playback. The key formula for this takes into account the instrument's stored sample rate at middle C.
One feature of the S3M format which is seldom used, is the format's support for FM instruments. These were designed to be played back on sound cards that included an OPL2 or compatible FM synthesis chip. More recently, with the necessary CPU power available, it is possible to perform the same synthesis in software. Two examples of such software are the Adplug plugin for the Windows audio player Winamp and the open-source audio module tracker OpenMPT as of version 1.28.01.00.
Media player support
S3M files released on the Demoscene's music scene in the 1990s were commonly played on PCs using dedicated mod/s3m players (such as DMP) or using the tracker software (like Scream Tracker). Some more-common/contemporary music players can play these files, although fidelity to original sound and results can vary according to the individual file.
- Kameñar, Vladimir (2021). Demoscene, el Arte Digital (in Spanish). Colombia: CelerSMS. p. 31. ISBN 978-958-53602-1-1. OCLC 1269270953.
- Wesley, Dan; Wesley, Judith (1997). Web Developer's Marketplace. Coriolis Group. p. 268. ISBN 978-1576101780.
- "OpenMPT 1.28.01.00 released".
- "VLC - Features - VideoLAN".