#Switch between speakers and headset with a toggle switch?

15 messages · Page 1 of 1 (latest)

soft creek
#

I build a volume mixer with 4 potis and a Arduino nano, I love it. Is it possible to implement a toggle switch that allows me to switch between the headset and speakers?
Can I program this additionally into the existing sketch and if so, how do I do that or how do I create such code?

jagged ivy
#

what I do is that I use voicemeeter idk if you heard of it

#

it is kind of a virtual mixer on your computer, which can have multiple inputs and outputs, including a ton of macros, even through midi or other hotkeys

you could either make your "switch" key from the arduino to trigger the macro, or trigger the change itself depending on what you prefer

scenic veldt
#

ty for sharing that software idea

soft creek
#

Thank you, I´ll give it a try

gritty stream
#

@soft creek looks like you may be able to use this fork with support for simulated keyboard buttons https://github.com/Miodec/deej and setup a hot key for https://soundswitch.aaflalo.me/

GitHub

Deej fork with added remappable button support. Set app volumes with real sliders! deej is an Arduino & Go project to let you build your own hardware mixer for Windows and Linux - Miodec/deej

gritty stream
#

@soft creek can confirm it does work with a slight modification to the miodec fork code

lethal gazelle
#

What change did you make?

gritty stream
#

had to change the handlebuttonevent to handle modifier keys like shift ctrl etc

lethal gazelle
#

Thank you!

gritty stream
gritty stream
#

the config.yaml will be need to be formatted like this to handle the modifier keys
button_mapping:
0: ctrl,win,4219