Compare commits

..

No commits in common. "6e017b4afc492d6ec3f0066a2d2199a306640c32" and "a3473d59223d1c61a7da775bd185e9c57bcc80d8" have entirely different histories.

4 changed files with 6 additions and 14 deletions

View File

@ -10,13 +10,11 @@ def main():
for send in mixer.strip[0].send:
send.level = -22.8
mixer.strip[15].send[0].level = -16.5
mixer.strip[15].send[0].level = -16.3
print(mixer.strip[15].send[0].level)
mixer.auxreturn.send[0].level = -15.5
mixer.auxreturn.send[0].level = -15.3
print(mixer.auxreturn.send[0].level)
mixer.fxreturn[0].send[0].level = -14.5
mixer.fxreturn[0].send[0].level = -14.3
print(mixer.fxreturn[0].send[0].level)

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "xair-api"
version = "2.2.4a0"
version = "2.2.3"
description = "Remote control Behringer X-Air | Midas MR mixers through OSC"
authors = ["onyx-and-iris <code@onyxandiris.online>"]
license = "MIT"
@ -24,6 +24,5 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
obs = "scripts:ex_obs"
sends = "scripts:ex_sends"
xair = "scripts:test_xair"
x32 = "scripts:test_x32"

View File

@ -8,11 +8,6 @@ def ex_obs():
subprocess.run([sys.executable, str(path)])
def ex_sends():
path = Path.cwd() / "examples" / "sends" / "."
subprocess.run([sys.executable, str(path)])
def test_xair():
path = Path.cwd() / "tests" / "xair"
subprocess.run(["pytest", "-v", str(path)])

View File

@ -630,9 +630,9 @@ class Send:
self.i = i + 1
@classmethod
def make(cls, _cls, i, remote, index=None):
def make(cls, _cls, remote, i, index=None):
SEND_cls = type("Send", (cls, _cls), {})
return SEND_cls(i, remote, index)
return SEND_cls(remote, i, index)
@property
def address(self) -> str: