Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Player
diff options
context:
space:
mode:
Diffstat (limited to 'Player')
-rw-r--r--Player/RythmPlayer.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Player/RythmPlayer.py b/Player/RythmPlayer.py
index 958edbd..78a5cbe 100644
--- a/Player/RythmPlayer.py
+++ b/Player/RythmPlayer.py
@@ -57,7 +57,6 @@ class RythmPlayer:
def shutOff( self ):
for track in range( Constants.NUMBER_OF_TRACKS ):
- for i in range( 3 ):
- csoundInstrument = i + 101
- CSoundClient.sendText( CSoundConstants. PLAY_NOTE_OFF_COMMAND % ( csoundInstrument, track ) )
+ for inst in [CSoundConstants.INST_TIED, CSoundConstants.INST_SIMP, CSoundConstants.INST_PERC]:
+ CSoundClient.sendText( CSoundConstants. PLAY_NOTE_OFF_COMMAND % ( inst, track ) )