.mod
   HOME

TheInfoList



OR:

MOD is a computer
file format A file format is a standard way that information is encoded for storage in a computer file. It specifies how bits are used to encode information in a digital storage medium. File formats may be either proprietary or free. Some file formats ...
used primarily to represent
music Music is generally defined as the art of arranging sound to create some combination of form, harmony, melody, rhythm or otherwise expressive content. Exact definitions of music vary considerably around the world, though it is an aspect ...
, and was the first module file format. MOD files use the “.MOD” file extension, except on the
Amiga Amiga is a family of personal computers introduced by Commodore in 1985. The original model is one of a number of mid-1980s computers with 16- or 32-bit processors, 256 KB or more of RAM, mouse-based GUIs, and significantly improved graphi ...
which doesn't rely on filename extensions; instead, it reads a file's header to determine filetype. A MOD file contains a set of ''instruments'' in the form of
sample Sample or samples may refer to: Base meaning * Sample (statistics), a subset of a population – complete data set * Sample (signal), a digital discrete sample of a continuous analog signal * Sample (material), a specimen or small quantity of s ...
s, 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 The Ultimate Soundtracker, or Soundtracker for short, is a music tracker program for the Commodore Amiga. It is the creation of Karsten Obarski, a German software developer and composer at a game development company EAS. The Ultimate Soundtracke ...
for use in the
Ultimate Soundtracker The Ultimate Soundtracker, or Soundtracker for short, is a music tracker program for the Commodore Amiga. It is the creation of Karsten Obarski, a German software developer and composer at a game development company EAS. The Ultimate Soundtracke ...
, tracker software released for the
Amiga Amiga is a family of personal computers introduced by Commodore in 1985. The original model is one of a number of mid-1980s computers with 16- or 32-bit processors, 256 KB or more of RAM, mouse-based GUIs, and significantly improved graphi ...
computer in 1987. 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 The Original Chip Set (OCS) is a chipset used in the earliest Commodore Amiga computers and defined the Amiga's graphics and sound capabilities. It was succeeded by the slightly improved Enhanced Chip Set (ECS) and greatly improved Advanced Grap ...
, 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 Pulse-code modulation (PCM) is a method used to digitally represent sampled analog signals. It is the standard form of digital audio in computers, compact discs, digital telephony and other digital audio applications. In a PCM stream, the amp ...
format ready to be played on the Amiga DACs, and pattern data is not packed. Playback required very little
CPU A central processing unit (CPU), also called a central processor, main processor or just processor, is the electronic circuitry that executes instructions comprising a computer program. The CPU performs basic arithmetic, logic, controlling, and ...
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 demomakers at the time, who played an important part in the popularity of the format. They in fact stand for the initials of
Michael Kleps Michael may refer to: People * Michael (given name), a given name * Michael (surname), including a list of people with the surname Michael Given name "Michael" * Michael (archangel), ''first'' of God's archangels in the Jewish, Christian an ...
a.k.a. Unknown / DOC, another developer of the format. After the Amiga's production ceased, the MOD format has had continued popularity in the Demoscene and as background music for
independent video games An indie game, short for independent video game, is a video game typically created by individuals or smaller development teams without the financial and technical support of a large game publisher, in contrast to most "AAA" (triple-A) games. ...
and
Chiptune Chiptune, also known as chip music or 8-bit music, is a style of synthesized electronic music made using the programmable sound generator (PSG) sound chips or synthesizers in vintage arcade machines, computers and video game consoles. The t ...
s. It is not uncommon to hear MOD music in
keygen A key generator (key-gen) is a computer program that generates a product licensing key, such as a serial number, necessary to activate for use of a software application. Keygens may be legitimately distributed by software manufacturers for lice ...
s either.


Format overview

A pattern is typically represented in a sequencer
user interface In the industrial design field of human–computer interaction, a user interface (UI) is the space where interactions between humans and machines occur. The goal of this interaction is to allow effective operation and control of the machine f ...
as a table with one column per channel, thus having four columns – one for each Amiga hardware channel. Each column has 64 rows. A cell in the table can cause one of several actions 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.


Timing

In the original MOD file the minimum time frame was 0.02 seconds, or a "
vertical blanking In a raster scan display, the vertical blanking interval (VBI), also known as the vertical interval or VBLANK, is the time between the end of the final visible line of a frame or field and the beginning of the first visible line of the next fram ...
" (VSync) interval, because the original software used the VSync timing of the monitor running at 50 Hz (for PAL) or 60 Hz (for
NTSC The first American standard for analog television broadcast was developed by National Television System Committee (NTSC)National Television System Committee (1951–1953), Report and Reports of Panel No. 11, 11-A, 12–19, with Some supplement ...
) for timing. The rate at which pattern data is played is defined by a ''speed setting''. Each row in the 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 the range .01, 0.078seconds. 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 an identical code value to the old command. Values in the range , 31were interpreted as the old speed settings, but other values were regarded as modifications to the adjustable time period. Hence, values in the range 2, 255used in some old songs broke in new versions of the player. Further information on the MOD format can be found at the alt.binaries.sounds.mods FAQ.


Other formats that use the MOD extension

MOD is the file extension for several other applications: * The
video file format A video file format is a type of file format for storing digital video data on a computer system. Video is almost always stored using lossy compression to reduce the file size. A video file normally consists of a container (e.g. in the Matroska ...
used on many digital
camcorder A camcorder is a self-contained portable electronic device with video and recording as its primary function. It is typically equipped with an articulating screen mounted on the left side, a belt to facilitate holding on the right side, hot-swa ...
s, such as the JVC Everio, the Canon FS100 and the Panasonic D-Snap SD-card camcorders. * Game modules in
Neverwinter Nights ''Neverwinter Nights'' is a series of video games developed by BioWare and Obsidian Entertainment, based on the ''Forgotten Realms'' campaign setting of the ''Dungeons & Dragons'' role-playing game. Aside from also being set in the Dungeons & Dra ...
. * AMPL model files. * Old
phpBB phpBB is an Internet forum package written in the PHP scripting language. The name "phpBB" is an abbreviation of ''PHP Bulletin Board''. Available under the GNU General Public License, phpBB is free and open-source. Features of phpBB include s ...
modification templates. * Module files in Femap * The extension for the
binary Binary may refer to: Science and technology Mathematics * Binary number, a representation of numbers using only two digits (0 and 1) * Binary function, a function that takes two arguments * Binary operation, a mathematical operation that t ...
variant of the Wavefront .obj format. * The extension for some games using the Vassal game engine. * The extension for Fortran module files. * The extension for legacy Visual Basic module files, for versions before the release of Visual Basic .NET. * The extension for Go module files, used for package versioning. * Module for ABB Robotics IRC5 and S4 robot controllers. Contains robotic motion programs written in the language RAPID. * Lanner WITNESS simulation software model files *
Paradox Development Studio Paradox Development Studio (PDS) is a Swedish video game developer founded in 1995. It is closely associated with its parent company and video game publisher, Paradox Interactive. It is best known for its grand strategy wargame series ''Europa U ...
uses a ".MOD" format for user-created modifications of their games. * DND adventure modules for Fantasy Grounds, a virtual tabletop application. * GNU GRUB boot modules (when found in /boot)


See also

* Module file * Tracker (music software) *
Mod (disambiguation) Mod, MOD or mods may refer to: Places * Modesto City–County Airport, Stanislaus County, California, US Arts, entertainment, and media Music * Mods (band), a Norwegian rock band * M.O.D. (Method of Destruction), a band from New York City, US * ...
*
MOD and TOD (video format) MOD and TOD are recording formats for use in digital tapeless camcorders. The formats are comparable to XDCAM EX, HDV and AVCHD. Overview MOD and TOD are informal names of tapeless video formats used by JVC (MOD and TOD), Panasonic (MOD only) an ...
*
List of Amiga music format players This is a list of software for various operating systems for playing Amiga music formats. *Audacious (various third party plugins have been written to play Amiga formats) * DeliPlayer * Dual Module PlayerFlash MOD Player (AS3)- A fully featured m ...
*
MIDI MIDI (; Musical Instrument Digital Interface) is a technical standard that describes a communications protocol, digital interface, and electrical connectors that connect a wide variety of electronic musical instruments, computers, and re ...


References


External links


Noisetracker/Soundtracker/Protracker Module Format - 3rd Revision


* ttp://aminet.net/tree?path=mods Music data index site
Modarchive
{{DEFAULTSORT:Mod (File Format) Amiga music formats AmigaOS Module file formats Video game music file formats