Module

From Mario Fan Games Galaxy Wiki
Revision as of 00:37, 17 December 2007 by Draco Icebane (talk | contribs)

A module in musical terms is a MIDI-type sound format, that is not actually the specific MIDI format itself. It is slightly larger than a MIDI file, but significantly smaller than and retaining the same quality as an MP3 or OGG file, depending on the musician's skill. This, along with Multimedia Fusion 2's native support, makes modules generally ideal for computer applications, such as fangames. Modules were also used in the early 1990's in commercial gaming.

The module format is considered MIDI, as it relies on loading predefined samples or instruments and playing them at certain frequencies (pitches); however, *.mid and *.midi files call instruments from the computer's sound card, while modules store their own samples and instruments. For this reason, modules do not suffer from radical changes in sound across different systems, although the user's hardware still effects the raw quality of the sound.

Commonly used module types include *.mod, *.s3m, *.it, and *.xm, all of which can be played in Winamp with the BASS package. These formats are very similar, but have their own technicalities: special effects are different, and *.mod and *.s3m cannot use instruments, only samples. The difference between these two concepts is listed below.

Composers of module-format music, as well as programs used to create and edit modules, are known as trackers, and therefore the art of composing modules is known as tracking.


Construction

Modules are composed of the following pieces:

  • Patterns: Similar to a bar in traditional music, a pattern is a single block containing a given number of rows. A given number of rows is a beat; for instance, a beat may be every 8 rows.
  • Channels: Each channel may play one instrument or sample at a time, except for when one fades out and another starts. Generally, each channel is assigned a single instrument for ease of composition. Modules may have up to 32 channels. Some trackers, such as Modplug Tracker, automatically remove any unused channels when saving.
  • Samples: A sample, such as a *.wav file, is used as the primary musical unit in some module formats (such as *.mod). These samples may have loops applied to them so that they may be played for an arbitrary duration.
  • Instruments: Assuming the Module format supports it (*.it and *.xm do), an Instrument may call any number of samples, albeit only one per note, and apply an effect to every note they ever play. Valid effects are volume, pitch, panning, and Flt (What is that? Flatness?)


 Stub.png This article or section is in need of expansion.

Please add further information.