~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to kmidi/config/timidity.cfg

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
##############################################################################
 
2
#       $Id: timidity.cfg,v 1.4 1999/12/10 21:02:56 greglee Exp $
 
3
#
 
4
# Instrument configuration file for timidity
 
5
#
 
6
# Specify library directory:            dir <directory>
 
7
#
 
8
# - Multiple library directories may be given. The ones given last will be
 
9
#   searched first so you can override them in later configuration files.
 
10
#   Extra configuration files and MIDI files will also be searched in these
 
11
#   directories.
 
12
#
 
13
# Set tone bank or drum set to modify:  bank <number>
 
14
#                                       drumset <number>
 
15
#
 
16
# Map program number to patch map:      <program number> <patch name>
 
17
#
 
18
# - If the patch can't be found in the library directories, TiMidity will 
 
19
#   search again with ".pat" appended to the name.
 
20
#   Programs without a loaded patch will be silent, except that for
 
21
#   banks/drumsets >0, the corresponding patch in  bank/drumset 0 will
 
22
#   be used (if one exists).
 
23
#
 
24
# Read another configuration file:      source <file name>
 
25
#
 
26
 
 
27
##############################################################################
 
28
# If you've moved things around since compiling, uncomment and edit this to
 
29
# point to the library directory: 
 
30
#
 
31
#dir /opt/kde/share/apps/kmidi/config
 
32
#
 
33
 
 
34
##############################################################################
 
35
# This sets up the default patches in the KMidi support package
 
36
 
 
37
bank 0 standard
 
38
if 1
 
39
source piano
 
40
if 2
 
41
source guitar
 
42
else
 
43
source piano+guitar
 
44
 
 
45
drumset 0 standard
 
46
source drums
 
47
 
 
48
# The above give 3 patchsets which will be shown on KMidi's patchset menu:
 
49
#       piano+guitar
 
50
#       piano
 
51
#       guitar
 
52
# These are the names of 3 files in this directory which list which patches
 
53
# are to be used for which midi "programs" (instruments).  The "else" precedes
 
54
# the first default patchset (equivalently, one could write "if 0").  The
 
55
# statement "source drums" is not preceded by an "if" or "else", so the
 
56
# patches mentioned in the file "drums" will be used regardless of what
 
57
# patchset you select from KMidi's menu.
 
58
#
 
59
# You might have several different sets of drum patches which which you'd like
 
60
# to match up with melodic patches.  Say, you want "solo-drums" to go with
 
61
# piano, but 808-drums to go with guitar or piano+guitar.  Then, you could
 
62
# instead of the above, put after "drumset 0":
 
63
#       if 1
 
64
#       source solo-drums
 
65
#       if 2
 
66
#       source 808-drums
 
67
#       else
 
68
#       source 808-drums
 
69
# This sort of arrangement will not affect what KMidi shows in its patchset
 
70
# menu, since it gets the names from the first conditional source statement
 
71
# it finds.  There can be conditional "source" statements embedded within
 
72
# source'd files, if you like, but these also won't affect the names KMidi
 
73
# assigns to the patchsets.
 
74
#
 
75
##############################################################################
 
76
# End of configuration file