Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Util/CSoundClient.py
diff options
context:
space:
mode:
authorOli2 <olivier.belanger@umontreal.ca>2007-03-08 11:55:08 (GMT)
committer Oli2 <olivier.belanger@umontreal.ca>2007-03-08 11:55:08 (GMT)
commit5e7caf23a63d8f98555d01d2b5df274552b7a392 (patch)
treed7ef833b7ea99b64be93f287d1e7e957625ac0e2 /Util/CSoundClient.py
parent9a3d66240a98ca6f24462a67bb283ffc9e19a662 (diff)
update drums in edit fix, clear loop on miniT 'close', always regenerate when opening miniT
Diffstat (limited to 'Util/CSoundClient.py')
-rw-r--r--Util/CSoundClient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Util/CSoundClient.py b/Util/CSoundClient.py
index 42d65c9..0b21d20 100644
--- a/Util/CSoundClient.py
+++ b/Util/CSoundClient.py
@@ -122,7 +122,7 @@ class _CSoundClientPlugin:
if note.cs.mode == 'mini':
instrument_offset = 0
elif note.cs.mode == 'edit':
- if Config.INSTRUMENTSID[note.cs.instrumentId].soundClass == 'drum':
+ if Config.INSTRUMENTSID[note.cs.instrumentId].kit != None:
instrument_offset = 0
else:
instrument_offset = 100