MOD (file format)

MOD (file format)

Infobox file format
name = MOD
icon =



caption =
extension = .mod
mime =
type code =
uniform type =
magic =
owner = Karsten "Obi" Obarski
genre = Video/music
container for =
contained by =
extended from =
extended to =
standard =

MOD is a computer file format used primarily to represent music, and was the first module file format. MOD files use the “.MOD” file extension, except on the Amiga where the original trackers instead use a “mod.” prefix scheme, e.g. “mod.echoing”. A MOD file contains a set of "instruments" in the form of samples, a number of "patterns" indicating how and when the samples are to be played, and a list of what patterns to play in what order.

History

The first version of the format was created by Karsten Obarski for use in the Ultimate Soundtracker; tracker software released for the Amiga computer in 1987 [http://www.soundtracker.org/] . The format has since been supported by hundreds of playback programs and dozens of other trackers.

The original version of the MOD format featured four channels of simultaneous audio playback, corresponding to the capabilities of the original Amiga chipset, and up to 15 instruments.

Later variations of the format have extended this to up to 32 channels and 31 instruments.

The format was designed to be directly playable on the Amiga without additional processing: for example, samples are stored in 8-bit PCM format ready to be played on the Amiga DAC, and pattern data is not packed. Playback required very little CPU time on an Amiga, and many games used MOD files for their background music.

A common misconception is that the magic number "M.K." in the 0x438 offset of MOD files are the initials of Mahoney and Kaktus, two prominent Amiga demosceners at the time, who played an important part in the popularity of the format. They in fact stand for the initials of Michael Kleps a.k.a. Unknown / DOC, another important developer of the format. [ [http://www.sm5sxl.net/~mats/text/amiga/music/ust_format.txt A text file on the format at sm5sxl.net] ]

After the Amiga's production ceased, the MOD format has been used as music in various keygens.

Format overview

A pattern is typically represented in a sequencer user interface as a table with one column per channel, thus having 4 columns; one for each Amiga hardware channel. Each column has 64 rows.

A cell in the table can cause something to happen on its column's channel when its row's time is reached:
* Start an instrument playing a new note in this channel at a given volume, possibly with a special effect applied on it
* Change the volume or special effect being applied to the current note
* Change pattern flow; jump to a specific song or pattern position or loop inside a pattern
* Do nothing; any existing note playing in this channel will continue to play

An instrument is a single sample along with an optional indication of which portion of the sample can be repeated to hold a sustained note.

Time

In the original MOD file the minimum time frame is 0.02 seconds, or a "vertical blanking", because the original software used the VSync of the monitor running at 50 Hz (for PAL) or 60 Hz (for NTSC) for timing.

The rate at which pattern data is played is defined by a "speed setting". Each row in pattern data lasts one vertical blanking (or 0.02 seconds) times the current speed setting. The speed setting varied from 1 to 255.In later versions of the format, the vertical blanking was replaced with an adjustable time period staying in range [0.01, 0.078] seconds. The old speed setting command was replaced with a new one that was used to change both the old speed setting and the new adjustable time period. Unfortunately, some of the old functionality was broken, because the new speed setting command had identical code value to the old one. Values in range [1,31] were interpreted as old speed settings, but other values were regarded as modifications to the adjustable time period. Hence, values in range [32, 255] used in some old songs broke in new versions of the player.

Further information on the MOD format can be found at alt.binaries.sounds.mods FAQ [ [http://www.koeln.netsurf.de/~michael.mey/faq1.txt The alt.binaries.sounds.mods FAQ on the MOD format] ] .

Other MOD formats

MOD is also the file extension for several other applications:

* It is the video file format used on many digital camcorders, such as the JVC Everio, and the Panasonic D-Snap SD-card camcorders.
* It is used for game modules by the game Neverwinter Nights.
* It is used for AMPL module files
* It is used for the old phpBB Modification Templates

See also

* Module file
* Tracker
* List of Amiga music format players

References

External links

* [http://thorkildsen.no/faqsys/docs/mod-form.txt Details on MOD file format]
* [http://mediasrv.ns.ac.yu/extra/fileformat/modules/mod/mod-form.txt Details on MOD file format]
* [http://aminet.net/tree?path=mods Music data index site]
* [http://i.webring.com/hub?ring=modring The MOD Ring]
* [http://www.modarchive.org Modarchive]
* [http://fby.develer.com/fby/modulescollection.html Collection divided by genre]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • XM (file format) — XM, standing for extended module , is an audio file type introduced by Triton s Fast Tracker 2. XM introduced multisampling capable instruments with volume and panning envelopes, and basic sample compression. It also expanded the available effect …   Wikipedia

  • BMP file format — Windows Bitmap Filename extension .bmp or .dib Internet media type image/x ms bmp (unofficial) or image/x bmp (unofficial) Type code BMP BMPf BMPp Uniform Type Identifier com.microsoft.bmp …   Wikipedia

  • MOI (file format) — Infobox file format name = MOI icon = caption = extension = .moi mime = type code = uniform type = magic = owner = genre = Information container for = contained by = extended from = extended to = standard = MOI is a computer file format used… …   Wikipedia

  • IT (file format) — Infobox file format name = IT icon = caption = extension = .it mime = audio/it type code = uniform type = magic = owner = genre = container for = contained by = extended from = extended to = standard = .IT is the proprietary module format used by …   Wikipedia

  • Tagged Image File Format — TIF and TIFF redirect here. For other uses, see TIF (disambiguation) and TIFF (disambiguation). Tagged Image File Format Filename extension .tiff, .tif Internet media type image/tiff, image/tiff fx Type code TIFF Unifo …   Wikipedia

  • Resource Interchange File Format — The Resource Interchange File Format (RIFF) is a generic file container format for storing data in tagged chunks. It is primarily used to store multimedia such as sound and video, though it may also be used to store any arbitrary data. It was… …   Wikipedia

  • Exchangeable image file format — This article is about a format for storing metadata in image and audio files. For information about filename and directory structures of digital cameras, see Design rule for Camera File system. Filename extension .JPG, .TIF, .WAV Developed by… …   Wikipedia

  • S3M (file format) — 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… …   Wikipedia

  • Mod — Contents 1 Sports 2 General 3 Music 4 Popular culture …   Wikipedia

  • MOD and TOD (video format) — MOD and TOD are recording formats for use in digital tapeless camcorders. The format is comparable to AVCHD.OverviewMOD and TOD are informal names of tapeless video formats used by JVC (MOD and TOD), Panasonic (MOD only) and Canon (MOD only) in… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”