add headamp class

This commit is contained in:
2025-01-03 10:19:06 +00:00
parent 6bdd4a0040
commit f26de42b89
7 changed files with 80 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
import logging
import xair_api
logging.basicConfig(level=logging.DEBUG)
def main():
with xair_api.connect("XR18", ip="mixer.local") as mixer:
mixer.headamp[8].phantom = True
for i in range(-12, -6):
mixer.headamp[8].gain = i
print(mixer.headamp[8].gain)
input("Press Enter to continue...")
if __name__ == "__main__":
main()