2024-02-08 13:45:55 +00:00
|
|
|
import logging
|
|
|
|
|
|
|
|
import xair_api
|
|
|
|
|
|
|
|
logging.basicConfig(level=logging.DEBUG)
|
|
|
|
|
|
|
|
|
|
|
|
def main():
|
|
|
|
with xair_api.connect("XR18", ip="mixer.local") as mixer:
|
|
|
|
for send in mixer.strip[0].send:
|
|
|
|
send.level = -22.8
|
|
|
|
|
2024-02-08 21:38:30 +00:00
|
|
|
mixer.strip[15].send[0].level = -16.5
|
2024-02-08 17:41:37 +00:00
|
|
|
print(mixer.strip[15].send[0].level)
|
2024-02-08 21:38:30 +00:00
|
|
|
|
|
|
|
mixer.auxreturn.send[0].level = -15.5
|
2024-02-08 17:41:37 +00:00
|
|
|
print(mixer.auxreturn.send[0].level)
|
2024-02-08 21:38:30 +00:00
|
|
|
|
|
|
|
mixer.fxreturn[0].send[0].level = -14.5
|
2024-02-08 17:41:37 +00:00
|
|
|
print(mixer.fxreturn[0].send[0].level)
|
2024-02-08 13:45:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
main()
|