vban-cmd-python/__main__.py
onyx-and-iris 6432eae3b4 add levels
add levels to strip and bus class.

strip level values defined as: pre fader input peak level in dB * 100
bus level values defined as: bus output peak level in dB * 100
2022-02-25 18:06:24 +00:00

11 lines
220 B
Python

import vban_cmd
from time import sleep
def main():
with vban_cmd.connect('potato', ip='ws.local') as vban:
for i in range(8):
print(vban.bus[i].levels.all)
if __name__ == '__main__':
main()