HOME

TheInfoList



OR:

MOD is a computer
file format A file format is a Computer standard, 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 format, pr ...
used primarily to represent
music Music is the arrangement of sound to create some combination of Musical form, form, harmony, melody, rhythm, or otherwise Musical expression, expressive content. Music is generally agreed to be a cultural universal that is present in all hum ...
, and was the first
module file Module file (MOD music, tracker music) is a family of music file formats originating from the MOD file format on Amiga systems used in the late 1980s. Those who produce these files (using the software called music trackers) and listen to them ...
format. MOD files use the “.MOD”
file extension File or filing may refer to: Mechanical tools and processes * File (tool), a tool used to remove fine amounts of material from a workpiece. ** Filing (metalworking), a material removal process in manufacturing ** Nail file, a tool used to gen ...
, except on the
Amiga Amiga is a family of personal computers produced by Commodore International, Commodore from 1985 until the company's bankruptcy in 1994, with production by others afterward. The original model is one of a number of mid-1980s computers with 16-b ...
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 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 Amiga is a family of personal computers produced by Commodore International, Commodore from 1985 until the company's bankruptcy in 1994, with production by others afterward. The original model is one of a number of mid-1980s computers with 16-b ...
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, 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 Digital signal (signal processing), digitally represent analog signals. It is the standard form of digital audio in computers, compact discs, digital telephony and other digital audio application ...
format ready to be played on the Amiga DACs, 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 Background music (British English: piped music) is a mode of musical performance in which the music is not intended to be a primary focus of potential listeners, but its content, character, and volume level are deliberately chosen to affect behav ...
. 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 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 The demoscene () is an international computer art subculture focused on producing demos: self-contained, sometimes extremely small, computer programs that produce audiovisual presentations. The purpose of a demo is to show off computer programmi ...
and as background music for independent video games and
Chiptune Chiptune, also called 8-bit music (although not all chiptune is 8-bit music), is a style of electronic music made using the programmable sound generator (PSG) sound chips or synthesizers in vintage arcade machines, computers and video gam ...
s. It is not uncommon to hear MOD music in
keygen A key generator (keygen) 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 lic ...
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 fro ...
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" (VSync) interval, because the original software used the VSync timing of the monitor running at 50 Hz (for
PAL Phase Alternating Line (PAL) is a color encoding system for analog television. It was one of three major analogue colour television standards, the others being NTSC and SECAM. In most countries it was broadcast at 625 lines, 50 fields (25 ...
) or 60 Hz (for
NTSC NTSC (from National Television System Committee) is the first American standard for analog television, published and adopted in 1941. In 1961, it was assigned the designation System M. It is also known as EIA standard 170. In 1953, a second ...
) 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 File or filing may refer to: Mechanical tools and processes * File (tool), a tool used to remove fine amounts of material from a workpiece. ** Filing (metalworking), a material removal process in manufacturing ** Nail file, a tool used to gen ...
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-sw ...
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 around the city Nev ...
. *
AMPL AMPL (A Mathematical Programming Language) is an algebraic modeling language to describe and solve high-complexity problems for large-scale mathematical computing (e.g. large-scale optimization and scheduling-type problems). It was developed ...
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 software, free and open-sourc ...
modification templates. * Module files in Femap * The extension for the binary 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 GNU GRUB (short for GNU GRand Unified Bootloader, commonly referred to as GRUB) is a boot loader package from the GNU Project. GRUB is the reference implementation of the Free Software Foundation's Multiboot Specification, which provides a use ...
boot modules (when found in /boot)


See also

*
Module file Module file (MOD music, tracker music) is a family of music file formats originating from the MOD file format on Amiga systems used in the late 1980s. Those who produce these files (using the software called music trackers) and listen to them ...
* Tracker (music software) * Mod (disambiguation) *
MOD and TOD (video format) MOD and TOD are recording formats for use in digital tapeless camcorders. The formats are comparable to XDCAM, XDCAM EX, HDV and AVCHD. Overview MOD and TOD are informal names of tapeless video formats used by JVC (MOD and TOD), Panasonic (MOD o ...
* List of Amiga music format players *
MIDI Musical Instrument Digital Interface (; MIDI) is an American-Japanese technical standard that describes a communication protocol, digital interface, and electrical connectors that connect a wide variety of electronic musical instruments, ...


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