Template:Sound Infobox

From ModdingWiki
Jump to: navigation, search
Sound Infobox
Format typeSound
Number of soundsUnknown
Sampling rateUnknown
Channel countUnknown
Bits per sampleUnknown

This template is used to display an information box containing details about a map format. See CMF Format for example use.

Valid parameters and examples are:

Parameter/example Purpose Valid values
Type = Value
Type2 = Value
Type3 = Value
Type of hardware for sound generation One of:
  • OPL (Ad Lib)
  • PCM (sampled)
  • PC Speaker
(add new types to this page as required)
Count = 123 Number of sounds in this file format 1 if the file only stores one sound, like .wav
Rate = 2 - 48 kHz Allowed sampling rates One of
  • A fixed value like 11 kHz
  • A range like 2 - 44.1 kHz
  • N/A for OPL-only
NumChannels = 2 Number of channels One of
  • 1 (fixed mono)
  • 2 (fixed stereo)
  • 1-2 (mono or stereo)
BitsPerSample = 16 Number of bits per sample Typically 8 or 16, but can be 4 or as low as 2 for some compression schemes.
Compressed = N Is the data compressed? Y, N or O ("Optional" - format supports both compressed and uncompressed audio)
Tags = Title, Artist, Remarks Does the format store names of the recording engineer and/or title? None or list of supported tags
Games = {{Game|GameName}} {{Game|GameName}} Name of all games that use this format Any wiki page name, as a parameter to the Game template

Default values are shown if the parameter is omitted, so do not use any parameters unless the value is known (most of the defaults say "unknown")