mirror of
https://github.com/onyx-and-iris/xair-api-python.git
synced 2026-04-18 05:23:32 +00:00
minor ver bump
added mute property to bus,fx,lr,rtn,strip
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user