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
This commit is contained in:
onyx-and-iris
2022-02-25 18:06:24 +00:00
parent 364e456c94
commit 6432eae3b4
3 changed files with 64 additions and 1 deletions

View File

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