Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-04-16 17:10:32 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-04-16 17:10:32 (GMT)
commiteb4cff0b7c37797bf6d59fd710d672781f173df5 (patch)
tree55bcc8938dfbd80b065cdab1d43111ed632db8c0
parentff4b5614185724755444c5f5655030892a8b5a05 (diff)
Fixes in loopUpdate()
-rw-r--r--common/Util/CSoundClient.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/Util/CSoundClient.py b/common/Util/CSoundClient.py
index 04db585..b6acd96 100644
--- a/common/Util/CSoundClient.py
+++ b/common/Util/CSoundClient.py
@@ -233,7 +233,8 @@ class _CSoundClientPlugin:
if (Config.DEBUG > 2): print 'INFO: updating pitch', (page<<16)+id, value
pitch = value
if self.instrumentDB.instId[note.cs.instrumentId].kit != None:
- instrument = self.instrumentDB.instId[note.cs.instrumentId].kit[pitch]
+ instrument = self.instrumentDB.instNamed[
+ self.instrumentDB.instId[note.cs.instrumentId].kit[pitch]]
csoundInstId = instrument.csoundInstrumentId
csoundTable = Config.INSTRUMENT_TABLE_OFFSET + instrument.instrumentId
if (Config.DEBUG > 2): print 'INFO: updating drum instrument (pitch)', (page<<16)+id, instrument.name, csoundInstId