mirror of
https://github.com/onyx-and-iris/xair-api-python.git
synced 2026-04-18 05:23:32 +00:00
sends example added.
obs example updated to reflect updates to obsws
This commit is contained in:
19
examples/sends/__main__.py
Normal file
19
examples/sends/__main__.py
Normal file
@@ -0,0 +1,19 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user