summaryrefslogtreecommitdiff
path: root/console.py
diff options
context:
space:
mode:
authorsbahling <sbahling@mudgum.net>2018-10-22 18:56:33 +0200
committersbahling <sbahling@mudgum.net>2018-10-22 18:56:33 +0200
commitf5473c78eeffe5406f55ce120f708b3dbc57cbd4 (patch)
tree1ef81917046eb201431ebb1db9805c2d36a01b09 /console.py
parentb8fce059b772025722f314ca5a2074a14f0e094d (diff)
downloadtascam-fw-osc-f5473c78eeffe5406f55ce120f708b3dbc57cbd4.tar.gz
tascam-fw-osc-f5473c78eeffe5406f55ce120f708b3dbc57cbd4.tar.xz
tascam-fw-osc-f5473c78eeffe5406f55ce120f708b3dbc57cbd4.zip
fix indexing of strips list
Diffstat (limited to 'console.py')
-rw-r--r--console.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/console.py b/console.py
index 8e1e41d..eb7eb12 100644
--- a/console.py
+++ b/console.py
@@ -152,7 +152,7 @@ class Console():
def strip_fader_handler(self, addr, ssid, pos):
print('fader_handler', addr, ssid, pos)
- strip = self.strips(int(ssid))
+ strip = self.strips[int(ssid)]
if strip.name == ' ':
return
pos = pos * 1023
@@ -166,7 +166,7 @@ class Console():
print(addr, args)
def strip_mute_handler(self, addr, ssid, state):
- strip = self.strips(int(ssid))
+ strip = self.strips[int(ssid)]
print('mute_handler', strip, state)
if strip.name == ' ':
return
@@ -176,7 +176,7 @@ class Console():
strip.mute = False
def strip_solo_handler(self, addr, ssid, state):
- strip = self.strips(int(ssid))
+ strip = self.strips[int(ssid)]
print('solo_handler', strip, state)
if strip.name == ' ':
return
@@ -186,7 +186,7 @@ class Console():
strip.solo = False
def strip_recenable_handler(self, addr, ssid, state):
- strip = self.strips(int(ssid))
+ strip = self.strips[int(ssid)]
print('recenable_handler', strip, state)
if strip.name == ' ':
return