MOD: Difference between revisions

From MZXWiki
Jump to navigation Jump to search
m (Reverted edits by 75.44.190.228 (Talk); changed back to last version by T-Bone6)
(Re-written. (Feel free to remove interlinks seen as unnecessary, I erred on the inclusive side just in case.))
Line 1: Line 1:
Module files (MODs) are a class of file formats used to represent music on a computer. They store several patterns or pages of music data in a form similar to that of a spreadsheet. These patterns contain note numbers, instrument numbers, and controller messages. The number of notes that can be played simultaneously depends on how many tracks there are per pattern.
Module files (MODs) are files that contain human-readable music data (based on pattern, page, effect and track info laid out in a spreadsheet-like manner) and sound samples. They are used to play music in [[MegaZeux]] games.


Module files also give a list of the order in which to play the patterns. However, the biggest advantage of MOD family over standard MIDI files is that MODs include their own audio samples and should sound exactly the same from one player to another barring interpolation methods and any errors in players.
Files with the extension of .MOD are the simplest and oldest of these formats. Until version 2.48b, the only options for music in MegaZeux were ProTracker-format .MOD files (limited to 4 channels and 31 samples). The switch to [[Bells, Whistles, and Sound Boards|BWSB]] for the music engine allowed several new formats, including Ultimate SoundTracker format .MODs and the popular S3M format. Most new formats had to be converted to an intermediary format called .[[GDM]] (short for '''G'''eneral '''D'''igi'''M'''usic).


Module files are often referred to as tracker modules, and composing modules is known as tracking, simply because the first ever module creating program was Soundtracker, created by Karsten Obarski in 1987. Soundtracker was cloned many times, with programs such as NoiseTracker and ProTracker being direct descendants from the original Soundtracker code, and others such as MED/OctaMED and Oktalyzer being written from scratch. Such programs are called trackers in general.
MegaZeux switched to the [[ModPlug]] music engine at 2.80, allowing the popular formats XM and IT (as well as several others) to play natively. GDMs were no longer needed, and in fact have to be converted to S3M format for ModPlug to play them.


* This is a direct copy of the wikipedia version of the article. Someone needs to write a freash one.
MegaZeux currently plays modules with one of two possible sound engines: ''ModPlug'', the default engine, and ''[[MikMod]]'', an alternative module engine used when running MegaZeux on more limited platforms. For compatibility reasons, all MZX versions past 2.81h will only play the module formats both engines can play (MOD, S3M, XM, IT, STM, MTM, 669, ULT, FAR, MED, DSM, OKT and AMF).
 
Programs used to create modules are called ''trackers''. Popular trackers include ModPlug Tracker and Skale.
 
[[Category:MegaZeux]]

Revision as of 14:59, 11 January 2008

Module files (MODs) are files that contain human-readable music data (based on pattern, page, effect and track info laid out in a spreadsheet-like manner) and sound samples. They are used to play music in MegaZeux games.

Files with the extension of .MOD are the simplest and oldest of these formats. Until version 2.48b, the only options for music in MegaZeux were ProTracker-format .MOD files (limited to 4 channels and 31 samples). The switch to BWSB for the music engine allowed several new formats, including Ultimate SoundTracker format .MODs and the popular S3M format. Most new formats had to be converted to an intermediary format called .GDM (short for General DigiMusic).

MegaZeux switched to the ModPlug music engine at 2.80, allowing the popular formats XM and IT (as well as several others) to play natively. GDMs were no longer needed, and in fact have to be converted to S3M format for ModPlug to play them.

MegaZeux currently plays modules with one of two possible sound engines: ModPlug, the default engine, and MikMod, an alternative module engine used when running MegaZeux on more limited platforms. For compatibility reasons, all MZX versions past 2.81h will only play the module formats both engines can play (MOD, S3M, XM, IT, STM, MTM, 669, ULT, FAR, MED, DSM, OKT and AMF).

Programs used to create modules are called trackers. Popular trackers include ModPlug Tracker and Skale.