Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Util
diff options
context:
space:
mode:
authorJames <olpc@xo-05-28-3A.localdomain>2007-07-19 18:47:30 (GMT)
committer James <olpc@xo-05-28-3A.localdomain>2007-07-19 18:47:30 (GMT)
commitb8dff3f8902309f09d0cc27dabbe75bc7eb26739 (patch)
treeb94faa18bf7ad93c8e82390aa554b97718a27850 /Util
parent0c51f7abf29eb0b8534e6e47e4fddba7c0164142 (diff)
hail mary...
Diffstat (limited to 'Util')
-rw-r--r--Util/Instrument.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/Util/Instrument.py b/Util/Instrument.py
index 159b736..f3d835d 100644
--- a/Util/Instrument.py
+++ b/Util/Instrument.py
@@ -9,7 +9,7 @@ import os
CSOUND_INSTRUMENT = {'inst_free' : 5000, 'inst_tied' : 5001, 'inst_simp': 5011, 'inst_perc': 5021}
SOUND_ROOT = os.getenv("HOME") + '/cvs/tamtam/snd'
-DRUM_ROOT = SOUND_ROOT + "/drum"
+KIT_ROOT = SOUND_ROOT + "/drum"
INST_ROOT = SOUND_ROOT + "/inst"
INST = {}
@@ -179,13 +179,13 @@ KIT_ELEMENT = 24 * [0]
for i in range(0,13):
KIT_ELEMENT += 2 * [i]
-DRUM = {}
+KIT = {}
drum_load_dynamic = 0
if drum_load_dynamic:
- for D in os.listdir(DRUM_ROOT):
+ for D in os.listdir(KIT_ROOT):
print 'drum:',D
else:
- DRUM = {
+ KIT = {
'drum1kit' : [ 'drum1kick', 'drum1floortom', 'drum1tom',
'drum1chine', 'drum1splash', 'drum1crash',
'drum1snaresidestick', 'drum1snaresidestick', 'drum1snare',
@@ -213,10 +213,8 @@ else:
"drum5bongoaiguouvert" ]
}
-for name in DRUM:
- DRUM[name] = [ INST[e] for e in DRUM[name] ]
-
-
+for name in KIT:
+ KIT[name] = [ INST[e] for e in KIT[name] ]
if 0:
_nextInstrumentId = [0]