minor ver bump

added mute property to bus,fx,lr,rtn,strip
This commit is contained in:
onyx-and-iris
2022-11-08 22:10:36 +00:00
parent 2255da4e53
commit e7d38bb9d7
6 changed files with 49 additions and 1 deletions

View File

@@ -59,6 +59,14 @@ class AuxRtn(IRtn):
def address(self):
return "/rtn/aux"
@property
def mute(self) -> bool:
return not self.mix.on
@mute.setter
def mute(self, val: bool):
self.mix.on = not val
class FxRtn(IRtn):
"""Concrete class for rtn"""
@@ -93,3 +101,11 @@ class FxRtn(IRtn):
@property
def address(self):
return f"/rtn/{self.index}"
@property
def mute(self) -> bool:
return not self.mix.on
@mute.setter
def mute(self, val: bool):
self.mix.on = not val