- The
Browser Proxy
settings currently only function onWindows
, looking for specific registry keys to launch the specified browser. - By default, the
Browser Proxy
will capture audio from your DEFAULT microphone. Please be aware of this.
Setup assumes you are wanting to others' voices to trigger shocks. If you are only looking for your own voice to trigger shocks you may simply capture your microphone capture
device.
- Setup VoiceMeeter Banana or VoiceMeeter Potato.
- If you want to use local speech recognition, you can download a
Vosk
model from here. Extract the model preferably local toOpenShock.VoiceRecognizer
. Try different models to see what works best for you and your hardware. - If you want to use your browser (
Chrome
orEdge
currently), then there is no additional software to acquire. - Whatever program you are wanting to capture audio from, try to keep it on a separate
output
audio device (you will want to capture thecapture
device this is played to). If there are multiple programs, then they can all be on the sameoutput
device. - In
Banana
orPotato
, play youroutput
device to a single virtualinput
device (do not have multipleoutput
devices to thisinput
to keep background noise to a minimum). - Now you may run
OpenShock.VoiceRecognizer.exe
. Open theOptions > Settings
menu, and customize the settings as you see fit. - Ensure the
General > Input
is set to whatever virtual (or phsyical)capture
device you used inbanana
orpotato
. - For
OpenShock
ensure you have an API Key you can provide to the program to be able to communicate to send commands. This can be set in theOpenShock
sedttings. - If you are using a
Browser Proxy
, ensure you set thePort
to a non-zero value (recommended5000
, but use whatever is available for you). - If you are using
Vosk
, set theVosk > Model
setting to the base directory of the extracted model fromstep #2
. - Once all settings have been modified, press
Save
and then close the window via theClose
button orx
. - Now you can press the main
Start
button. If you are using aBrowser Proxy
, a new tab in the browser chosen will open. Follow the instructions in the browser tab to begin capturing sound data.
There are two available OSC endpoints:
/recognizer/toggle
: toggles the current active state of the recognizer./reocgnizer/set
: sets the current state of the recognizer explicitly. This takes abool
value.