xair-api-python/examples/sends/__main__.py
onyx-and-iris c2cf2fe523 sends example added.
obs example updated to reflect updates to obsws
2024-02-08 13:45:55 +00:00

20 lines
403 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
mixer.auxreturn.send[0].level = -15.3
mixer.fxreturn[0].send[0].level = -14.3
if __name__ == "__main__":
main()