mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2024-11-21 18:40:48 +00:00
strip switch to bus in observable example.
This commit is contained in:
parent
e979595a09
commit
fd529dc56c
@ -12,12 +12,11 @@ class Observer:
|
||||
print("mdirty!")
|
||||
if subject == "ldirty":
|
||||
info = (
|
||||
"levels changed:",
|
||||
f"[strip 0 {self.vm.strip[0].levels.is_updated}]",
|
||||
f"[strip 1 {self.vm.strip[1].levels.is_updated}]",
|
||||
f"[strip 2 {self.vm.strip[2].levels.is_updated}]",
|
||||
f"[strip 3 {self.vm.strip[3].levels.is_updated}]",
|
||||
f"[strip 4 {self.vm.strip[4].levels.is_updated}]",
|
||||
f"[{self.vm.bus[0]} {self.vm.bus[0].levels.is_updated}]",
|
||||
f"[{self.vm.bus[1]} {self.vm.bus[1].levels.is_updated}]",
|
||||
f"[{self.vm.bus[2]} {self.vm.bus[2].levels.is_updated}]",
|
||||
f"[{self.vm.bus[3]} {self.vm.bus[3].levels.is_updated}]",
|
||||
f"[{self.vm.bus[4]} {self.vm.bus[4].levels.is_updated}]",
|
||||
)
|
||||
print(" ".join(info))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user