home *** CD-ROM | disk | FTP | other *** search
- # This is the configuration file for Ptmid
- # Any line beginning with a crosshatch is not interpretted. Note that
- # all letters are case-sensative. Changing the variable-tags could cause
- # Ptmid to reject this configuration file.
- #
- # Below are the instrument sample mappings. Each line begins with a number
- # and then a mapping onto a set of sample files. The first entry is special:
- # it is labelled "def" and its sample mappings will be used for any
- # instrument which is not given a sample mapping. This entry must be
- # present. Other entries use the numbers 0 to 127, and represent the
- # corresponding MIDI instrument (eg. 1 might represent "bright acoustic
- # piano").
- #
- def piano.smp
- #
- # Below are the percussion sample mappings. Each line begins with a 'd'
- # followed by a number, then a sample file to map it onto. The numbers can
- # range from 0 to 127 and represent the MIDI note that when played gives
- # that particular drum (eg. d36 is the note C on octave 3 and might
- # represent "bass drum"). If a particular percussion instrument is not
- # given, then it will be ignored.
- #
- d35 bdrum.smp
- d36 bdrum.smp
- #
- # Below are given the information on the samples in the above sections.
- # If a sample is given as an instrument or percussion mapping, it must be
- # given an entry defining its properties.
- # Each entry begins with the word "sample", then the filename for the sample
- # that was used above, followed by its pitch (eg. C2, F#3) when played
- # at 8287 Hz (followed by loop-start offset, and length of loop in words,
- # but these are optional).
- # Middle C is C2, the note a semitone up is C#2, the note a semitone
- # down is B#1, etc. This system is used by most Protracker-type players
- # (yes.. there IS a reason).
- #
- sample piano.smp C2
- sample bdrum.smp C2
- #
- #
- # Now come the various options that can be enabled for Ptmid..
- #
- # Usually the drum channel is 10, but if you want to set it to something
- # different, use the following option (it will over-ride the similar
- # command-line parameter).
- #
- # drumch 16
- #
- # When interpretting a MIDI-file, notes are quantized so they can easily
- # be mapped onto patterns in the MOD-file. Valid quantize fractions are:
- # 4, 4t, 8, 8t, 16, 16t, 32, 32t, etc.
- # where "4" means quantize to quarter-notes (crotchets), "8" means
- # quantize to eighth-notes (quavers), etc. If there is a "t"-suffix, then
- # it means quantize to the appropriate triplet note.
- # This option will be overridden by the -f parameter at the command-line.
- #
- # fract 16
- #
- # If you want to create a MOD-file with more than extended characteristics,
- # and get a better conversion, then you can use the following three options
- # which select the number of channels (ptchan), the maximum number of
- # patterns (patmax), and the signature for that particular format (formid).
- # Here are some standard combinations:
- # ptchan patmax formid
- # 4 64 M.K.
- # 4 128 M!K!
- # 6 64 6CHN
- # 8 64 8CHN
- # NB. ptchan has a maximum of 8 channels.
- # patmax has a maximum of 128 patterns.
- #
- ptchan 4
- patmax 64
- formid M.K.
- #
- # Some MOD-files use an extended range of notes, but these cannot be
- # played using all trackers. If you want to have an extra two octaves
- # for notes, then use the "extend" option, but remember that it might
- # cause incompatibilities.
- #
- # extend
- #
- # This last option is a bit strange. If the word "nocopy" is on a line
- # then Ptmid will refuse to create MOD versions of MIDI files with
- # copyright notices in them.
- #
- # nocopy
- #
-