mirror of
https://github.com/onyx-and-iris/xair-api-python.git
synced 2024-11-15 17:40:57 +00:00
23 lines
540 B
Python
23 lines
540 B
Python
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
|
|
|
|
mixer.strip[15].send[0].level = -16.3
|
|
print(mixer.strip[15].send[0].level)
|
|
mixer.auxreturn.send[0].level = -15.3
|
|
print(mixer.auxreturn.send[0].level)
|
|
mixer.fxreturn[0].send[0].level = -14.3
|
|
print(mixer.fxreturn[0].send[0].level)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|