S3M (file format)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
S3M
Filename extension .s3m
Internet media type audio/s3m
Developed by Sami Tammilehto
Type of format Module file format
Extended from STM, MOD

The S3M format is an advanced module format, and is 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 straightfoward 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. One example of such software is the Adplug plugin for the Windows audio player Winamp.

Media player support[edit]

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.

Software includes:

See also[edit]

References[edit]

  1. ^ http://www.videolan.org/vlc/features.php?cat=audio
  2. ^ http://www.modplug.com/
  3. ^ http://www.aimp.ru/index.php?do=features