home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computerworld 1996 March
/
Computerworld_1996-03_cd.bin
/
idg_cd3
/
utility
/
audio
/
ptmid3
/
ptmid.cfg
< prev
next >
Wrap
Text File
|
1994-07-18
|
5KB
|
138 lines
# This is the configuration file for Ptmid (ver 0.3)
# 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.
#
# Here is the directory to look in for samples. The line begins "spath"
# followed by a directory. If this line is missing, Ptmid will default
# to the current directory.
#
# spath c:\music\samples\
#
# 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"). You can also use the quotes (") symbol to identify to Ptmid
# that a particular sample mapping is identical to the previous one.
#
def boe0.smp boe3.smp
40 strings3.smp strings4.smp
41 "
42 "
43 "
44 "
48 "
49 "
50 "
51 "
56 botrumph.smp botrumpl.smp
57 "
60 "
64 boaltsxh.smp boaltsxl.smp
65 "
66 "
67 "
72 flute2.smp
73 "
75 "
76 "
77 "
78 "
79 "
#
# Below are the percussion sample mappings. Each line begins with a 'd'
# followed by a number, then a sample file to map it onto, and optionally
# followed by a note to play that sample at each time the percussion
# instrument appears (notes are of the form C2, C#2, etc.). 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 bdrum28.smp
d36 bdrum28.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 boe0.smp C0 8464 2485
sample boe3.smp C3 4565 758
sample bdrum28.smp C2
sample flute2.smp C3 2999 7500
sample strings3.smp C3 1185 3065
sample strings4.smp C1 1220 1705
sample botrumph.smp C3 1717 533
sample botrumpl.smp C1 2022 478
sample boaltsxh.smp C3 3028 1472
sample boaltsxl.smp C1 2342 2008
#
#
# 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
#
# To create Protracker files (extension .mod) you can use format 1, and
# to create Multitracker files (extension .mtm) you can use format 2.
# The default is format 1 as it is more widely used (although more
# limited). To choose the format, specify it after the "modfmt" tag.
#
modfmt 1
#
# To select the number of channels in the resulting mod, put the number
# after the "maxchan" tag. The default is 4. Note that just about every
# tracker will freak if it finds Protracker mods with channels other
# than 4, 6, or 8. The more channels the better (but more space used
# and worse quality sound with 8-bit digital mixing).
#
maxchan 4
#
# 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
#
# Even so, sometimes a note will occur outside of the range you allow
# (extended or not). Ptmid has to know what to do in this case, and
# there are 3 modes:
# 0 (default) - play pitch of closest note that's in range
# 1 - drop note altogether
# 2 - transpose pitch by octaves until it is in range
# (this one sounds the best)
# By using the "rgmode", you can select which mode to use.
#
rgmode 2
#
# 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
#