mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2024-11-22 10:00:46 +00:00
gate as no Knee parameter
This commit is contained in:
parent
af602e087d
commit
6882adb47b
@ -522,10 +522,7 @@ class Popup:
|
|||||||
|
|
||||||
setattr(self.window.vm.strip[index].gate, param.lower(), val)
|
setattr(self.window.vm.strip[index].gate, param.lower(), val)
|
||||||
popup[f"GATE||SLIDER {param}"].update(value=val)
|
popup[f"GATE||SLIDER {param}"].update(value=val)
|
||||||
if param == "KNEE":
|
self.window.nvda.speak(str(round(val, 1)))
|
||||||
self.window.nvda.speak(str(round(val, 2)))
|
|
||||||
else:
|
|
||||||
self.window.nvda.speak(str(round(val, 1)))
|
|
||||||
else:
|
else:
|
||||||
self.window.vm.event.pdirty = True
|
self.window.vm.event.pdirty = True
|
||||||
case [
|
case [
|
||||||
@ -547,10 +544,7 @@ class Popup:
|
|||||||
|
|
||||||
setattr(self.window.vm.strip[index].gate, param.lower(), val)
|
setattr(self.window.vm.strip[index].gate, param.lower(), val)
|
||||||
popup[f"GATE||SLIDER {param}"].update(value=val)
|
popup[f"GATE||SLIDER {param}"].update(value=val)
|
||||||
if param == "KNEE":
|
self.window.nvda.speak(str(round(val, 1)))
|
||||||
self.window.nvda.speak(str(round(val, 2)))
|
|
||||||
else:
|
|
||||||
self.window.nvda.speak(str(round(val, 1)))
|
|
||||||
else:
|
else:
|
||||||
self.window.vm.event.pdirty = True
|
self.window.vm.event.pdirty = True
|
||||||
case [
|
case [
|
||||||
@ -572,10 +566,7 @@ class Popup:
|
|||||||
|
|
||||||
setattr(self.window.vm.strip[index].gate, param.lower(), val)
|
setattr(self.window.vm.strip[index].gate, param.lower(), val)
|
||||||
popup[f"GATE||SLIDER {param}"].update(value=val)
|
popup[f"GATE||SLIDER {param}"].update(value=val)
|
||||||
if param == "KNEE":
|
self.window.nvda.speak(str(round(val, 1)))
|
||||||
self.window.nvda.speak(str(round(val, 2)))
|
|
||||||
else:
|
|
||||||
self.window.nvda.speak(str(round(val, 1)))
|
|
||||||
else:
|
else:
|
||||||
self.window.vm.event.pdirty = True
|
self.window.vm.event.pdirty = True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user