diff --git a/examples/sends/__main__.py b/examples/sends/__main__.py index 75d402e..d9893fb 100644 --- a/examples/sends/__main__.py +++ b/examples/sends/__main__.py @@ -10,11 +10,13 @@ def main(): for send in mixer.strip[0].send: send.level = -22.8 - mixer.strip[15].send[0].level = -16.3 + mixer.strip[15].send[0].level = -16.5 print(mixer.strip[15].send[0].level) - mixer.auxreturn.send[0].level = -15.3 + + mixer.auxreturn.send[0].level = -15.5 print(mixer.auxreturn.send[0].level) - mixer.fxreturn[0].send[0].level = -14.3 + + mixer.fxreturn[0].send[0].level = -14.5 print(mixer.fxreturn[0].send[0].level) diff --git a/pyproject.toml b/pyproject.toml index cd4f37d..7d6bd11 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "xair-api" -version = "2.2.3" +version = "2.2.4a0" description = "Remote control Behringer X-Air | Midas MR mixers through OSC" authors = ["onyx-and-iris "] license = "MIT" @@ -24,5 +24,6 @@ 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" diff --git a/scripts.py b/scripts.py index faa0c1e..9fd3599 100644 --- a/scripts.py +++ b/scripts.py @@ -8,6 +8,11 @@ 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)])