mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2026-04-07 18:03:35 +00:00
Compare commits
2 Commits
v.0.5.0.b1
...
v.0.5.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 876de55ad2 | |||
| eab4b1c6a9 |
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "nvda_voicemeeter"
|
name = "nvda_voicemeeter"
|
||||||
version = "0.5.0b1"
|
version = "0.5.0"
|
||||||
description = "A Voicemeeter app compatible with NVDA"
|
description = "A Voicemeeter app compatible with NVDA"
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "onyx-and-iris", email = "code@onyxandiris.online" },
|
{ name = "onyx-and-iris", email = "code@onyxandiris.online" },
|
||||||
|
|||||||
@@ -452,16 +452,16 @@ class NVDAVMWindow(psg.Window):
|
|||||||
case "tab||Settings":
|
case "tab||Settings":
|
||||||
self.write_event_value("ADVANCED SETTINGS", None)
|
self.write_event_value("ADVANCED SETTINGS", None)
|
||||||
case "tab||Physical Strip":
|
case "tab||Physical Strip":
|
||||||
if self.kind.name != "potato":
|
|
||||||
continue
|
|
||||||
if values["tabgroup||Physical Strip"] == "tab||Physical Strip||sliders":
|
if values["tabgroup||Physical Strip"] == "tab||Physical Strip||sliders":
|
||||||
if focus := self.find_element_with_focus():
|
if focus := self.find_element_with_focus():
|
||||||
identifier, partial = focus.key.split("||")
|
identifier, partial = focus.key.split("||")
|
||||||
_, index = identifier.split()
|
_, index = identifier.split()
|
||||||
if "SLIDER COMP" in partial:
|
match self.kind.name:
|
||||||
self.popup.compressor(int(index), title="Advanced Compressor")
|
case "potato":
|
||||||
elif "SLIDER GATE" in partial:
|
if "SLIDER COMP" in partial:
|
||||||
self.popup.gate(int(index), title="Advanced Gate")
|
self.popup.compressor(int(index), title="Advanced Compressor")
|
||||||
|
elif "SLIDER GATE" in partial:
|
||||||
|
self.popup.gate(int(index), title="Advanced Gate")
|
||||||
|
|
||||||
# Menus
|
# Menus
|
||||||
case [["Restart", "Audio", "Engine"], ["MENU"]]:
|
case [["Restart", "Audio", "Engine"], ["MENU"]]:
|
||||||
@@ -964,6 +964,7 @@ class NVDAVMWindow(psg.Window):
|
|||||||
self.vm.strip[int(index)].gain = 0
|
self.vm.strip[int(index)].gain = 0
|
||||||
self[f"STRIP {index}||SLIDER {param}"].update(value=0)
|
self[f"STRIP {index}||SLIDER {param}"].update(value=0)
|
||||||
case "COMP" | "GATE" | "DENOISER":
|
case "COMP" | "GATE" | "DENOISER":
|
||||||
|
target = getattr(self.vm.strip[int(index)], param.lower())
|
||||||
setattr(target, "knob", 0)
|
setattr(target, "knob", 0)
|
||||||
self[f"STRIP {index}||SLIDER {param}"].update(value=0)
|
self[f"STRIP {index}||SLIDER {param}"].update(value=0)
|
||||||
case "AUDIBILITY":
|
case "AUDIBILITY":
|
||||||
|
|||||||
Reference in New Issue
Block a user