diff options
| author | sbahling <sbahling@mudgum.net> | 2018-11-05 23:09:27 +0100 |
|---|---|---|
| committer | sbahling <sbahling@mudgum.net> | 2018-11-05 23:09:27 +0100 |
| commit | f50f1e7fe93be92bd6c038ac3d06851141bf769d (patch) | |
| tree | c8c2ac136443f909448adec8e9e31d2186b0fbf0 /tascam_fw_console | |
| parent | f97a3cd79e816d8d471d78ea2e57e91ec4d62531 (diff) | |
| download | tascam-fw-osc-f50f1e7fe93be92bd6c038ac3d06851141bf769d.tar.gz tascam-fw-osc-f50f1e7fe93be92bd6c038ac3d06851141bf769d.tar.xz tascam-fw-osc-f50f1e7fe93be92bd6c038ac3d06851141bf769d.zip | |
Remove strip name tracking.
The strip name checks are Ardour specific and moved to Ardour
handling scripts.
Diffstat (limited to 'tascam_fw_console')
| -rw-r--r-- | tascam_fw_console/console.py | 13 | ||||
| -rw-r--r-- | tascam_fw_console/strip.py | 1 |
2 files changed, 4 insertions, 10 deletions
diff --git a/tascam_fw_console/console.py b/tascam_fw_console/console.py index fa334dc..758888d 100644 --- a/tascam_fw_console/console.py +++ b/tascam_fw_console/console.py @@ -228,8 +228,6 @@ class Console(): def strip_fader_handler(self, addr, ssid, pos): strip = self.strips[int(ssid)] - if strip.name == ' ': - return strip.fader.position = pos def master_fader_handler(self, addr, pos): @@ -241,7 +239,7 @@ class Console(): def strip_select_handler(self, addr, ssid, state): strip = self.strips[int(ssid)] print('select_handler', strip, state) - if strip.num == 0 or strip.name == ' ': + if strip.num == 0: return if state: strip.select = True @@ -251,7 +249,7 @@ class Console(): def strip_mute_handler(self, addr, ssid, state): strip = self.strips[int(ssid)] print('mute_handler', strip, state) - if strip.num == 0 or strip.name == ' ': + if strip.num == 0: return if state: strip.mute = True @@ -261,7 +259,7 @@ class Console(): def strip_solo_handler(self, addr, ssid, state): strip = self.strips[int(ssid)] print('solo_handler', strip, state) - if strip.num == 0 or strip.name == ' ': + if strip.num == 0: return if state: strip.solo = True @@ -271,7 +269,7 @@ class Console(): def strip_recenable_handler(self, addr, ssid, state): strip = self.strips[int(ssid)] print('recenable_handler', strip, state) - if strip.num == 0 or strip.name == ' ': + if strip.num == 0: return if state: strip.rec = True @@ -319,9 +317,6 @@ class Console(): else: self.unit.leds.rec.turn_off() - def strip_name_handler(self, addr, ssid, name): - self.strips[int(ssid)].name = name - def bank_up_handler(self, addr, more_up): print(addr, more_up) self.more_banks_up = bool(more_up) diff --git a/tascam_fw_console/strip.py b/tascam_fw_console/strip.py index b879c93..3bfa546 100644 --- a/tascam_fw_console/strip.py +++ b/tascam_fw_console/strip.py @@ -41,7 +41,6 @@ class Strip(): self.num, ) self.fader = Fader(self) - self.name = None @property def mute_led(self): |
