mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2025-04-19 20:13:46 +01:00
Compare commits
No commits in common. "645361c7314cb305bfb97bb54865972c0dcac451" and "c94d763569bd2bd9e1e30fe9b2fbaf2aad55419f" have entirely different histories.
645361c731
...
c94d763569
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "nvda_voicemeeter"
|
name = "nvda_voicemeeter"
|
||||||
version = "0.2.2a1"
|
version = "0.2.1b2"
|
||||||
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" },
|
||||||
|
@ -218,7 +218,6 @@ class NVDAVMWindow(psg.Window):
|
|||||||
self[f"STRIP {i}||SLIDER {param}"].bind("<Shift-KeyPress-Down>", "||KEY SHIFT DOWN")
|
self[f"STRIP {i}||SLIDER {param}"].bind("<Shift-KeyPress-Down>", "||KEY SHIFT DOWN")
|
||||||
self[f"STRIP {i}||SLIDER {param}"].bind("<Control-KeyPress-Up>", "||KEY CTRL UP")
|
self[f"STRIP {i}||SLIDER {param}"].bind("<Control-KeyPress-Up>", "||KEY CTRL UP")
|
||||||
self[f"STRIP {i}||SLIDER {param}"].bind("<Control-KeyPress-Down>", "||KEY CTRL DOWN")
|
self[f"STRIP {i}||SLIDER {param}"].bind("<Control-KeyPress-Down>", "||KEY CTRL DOWN")
|
||||||
self[f"STRIP {i}||SLIDER {param}"].bind("<Control-Shift-KeyPress-R>", "||KEY CTRL SHIFT R")
|
|
||||||
|
|
||||||
# Bus Params
|
# Bus Params
|
||||||
params = ["MONO", "EQ", "MUTE", "MODE"]
|
params = ["MONO", "EQ", "MUTE", "MODE"]
|
||||||
@ -245,7 +244,6 @@ class NVDAVMWindow(psg.Window):
|
|||||||
self[f"BUS {i}||SLIDER GAIN"].bind("<Shift-KeyPress-Down>", "||KEY SHIFT DOWN")
|
self[f"BUS {i}||SLIDER GAIN"].bind("<Shift-KeyPress-Down>", "||KEY SHIFT DOWN")
|
||||||
self[f"BUS {i}||SLIDER GAIN"].bind("<Control-KeyPress-Up>", "||KEY CTRL UP")
|
self[f"BUS {i}||SLIDER GAIN"].bind("<Control-KeyPress-Up>", "||KEY CTRL UP")
|
||||||
self[f"BUS {i}||SLIDER GAIN"].bind("<Control-KeyPress-Down>", "||KEY CTRL DOWN")
|
self[f"BUS {i}||SLIDER GAIN"].bind("<Control-KeyPress-Down>", "||KEY CTRL DOWN")
|
||||||
self[f"BUS {i}||SLIDER GAIN"].bind("<Control-Shift-KeyPress-R>", "||KEY CTRL SHIFT R")
|
|
||||||
|
|
||||||
def popup_save_as(self, message, title=None, initial_folder=None):
|
def popup_save_as(self, message, title=None, initial_folder=None):
|
||||||
layout = [
|
layout = [
|
||||||
@ -936,23 +934,6 @@ class NVDAVMWindow(psg.Window):
|
|||||||
case "LIMIT":
|
case "LIMIT":
|
||||||
self.vm.strip[int(index)].limit = util.check_bounds(val, (-40, 12))
|
self.vm.strip[int(index)].limit = util.check_bounds(val, (-40, 12))
|
||||||
self[f"STRIP {index}||SLIDER {param}"].update(value=util.check_bounds(val, (-40, 12)))
|
self[f"STRIP {index}||SLIDER {param}"].update(value=util.check_bounds(val, (-40, 12)))
|
||||||
case [["STRIP", index], ["SLIDER", param], ["KEY", "CTRL", "SHIFT", "R"]]:
|
|
||||||
match param:
|
|
||||||
case "GAIN":
|
|
||||||
self.vm.strip[int(index)].gain = 0
|
|
||||||
self[f"STRIP {index}||SLIDER {param}"].update(value=0)
|
|
||||||
case "COMP" | "GATE" | "DENOISER":
|
|
||||||
setattr(target, "knob", 0)
|
|
||||||
self[f"STRIP {index}||SLIDER {param}"].update(value=0)
|
|
||||||
case "AUDIBILITY":
|
|
||||||
self.vm.strip[int(index)].audibility = 0
|
|
||||||
self[f"STRIP {index}||SLIDER {param}"].update(value=0)
|
|
||||||
case "BASS" | "MID" | "TREBLE":
|
|
||||||
setattr(self.vm.strip[int(index)], param.lower(), 0)
|
|
||||||
self[f"STRIP {index}||SLIDER {param}"].update(value=0)
|
|
||||||
case "LIMIT":
|
|
||||||
self.vm.strip[int(index)].limit = 12
|
|
||||||
self[f"STRIP {index}||SLIDER {param}"].update(value=12)
|
|
||||||
|
|
||||||
# Bus Params
|
# Bus Params
|
||||||
case [["BUS", index], [param]]:
|
case [["BUS", index], [param]]:
|
||||||
@ -1062,9 +1043,6 @@ class NVDAVMWindow(psg.Window):
|
|||||||
val -= 0.1
|
val -= 0.1
|
||||||
self.vm.bus[int(index)].gain = util.check_bounds(val, (-60, 12))
|
self.vm.bus[int(index)].gain = util.check_bounds(val, (-60, 12))
|
||||||
self[f"BUS {index}||SLIDER GAIN"].update(value=val)
|
self[f"BUS {index}||SLIDER GAIN"].update(value=val)
|
||||||
case [["BUS", index], ["SLIDER", "GAIN"], ["KEY", "CTRL", "SHIFT", "R"]]:
|
|
||||||
self.vm.bus[int(index)].gain = 0
|
|
||||||
self[f"BUS {index}||SLIDER GAIN"].update(value=0)
|
|
||||||
|
|
||||||
# Unknown
|
# Unknown
|
||||||
case _:
|
case _:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user