Go Down

Topic: Creating a hotkey trigger with arduino and Audio (Read 219 times) previous topic - next topic

franko776

First of all, I am relatively new with zero experience when it comes to Arduino, and this may be a big undertaking, but here it goes...

I want to create an Arduino based switcher, with 6 to 8 audio inputs that can be programmed to set off hotkey or macro commands to a computer via USB.

Basically, I want to put together a computer with several webcams and have the audio send the command to software like OBS or Xsplit, to switch the camera in the software itself. I figured 6 to 8 XLR inputs would work pretty well, as I could send individual microphone signals out of my mixer to the arduino, and in turn have the arduino send the hotkey command to the OBS program, activating the camera. I dont need the arduino to recognize or process the sound, just detect there is a signal coming in, and when it hits -20db activate the switch, then if someone else speaks and it goes over the -20db, send the according hotkey to trigger the other camera, and so on and so on.


If any of you guys can help me tackle this I would greatly appreciate it.

Grumpy_Mike

You need an envelope detector on each of the analogue inputs you want to use:-
Envelope detector
You have to make sure you have at least 1V peak audio signal, so if you have microphone levels these need to be amplified.

On the Arduino Uno you only have 6 analogue inputs, on something like the Nano you have 8 of them.

Quote
and in turn have the arduino send the hotkey command to the OBS program, activating the camera.
You have not said what hardware / software format this command is sent, so it is not possible to give you advice on this.

Go Up