Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Player
diff options
context:
space:
mode:
authorjames <james@loggerhead.localdomain>2006-11-03 20:37:33 (GMT)
committer james <james@loggerhead.localdomain>2006-11-03 20:37:33 (GMT)
commit97bca67b83ecfbaf39e6d6dc8719fb22af486ea8 (patch)
treefa9b1bd53a91e5fd1c0fdcc19d9ee9e29cc745d7 /Player
parentd5c863d1f722211be04114aaaba423a04c639dbc (diff)
new server codes, deleting tables, closing socket
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 ) )