Browser Proxy
settings currently only function on Windows
, looking for specific registry keys to launch the specified browser.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.
Vosk
model from here. Extract the model preferably local to OpenShock.VoiceRecognizer
. Try different models to see what works best for you and your hardware.Chrome
or Edge
currently), then there is no additional software to acquire.output
audio device (you will want to capture the capture
device this is played to). If there are multiple programs, then they can all be on the same output
device.Banana
or Potato
, play your output
device to a single virtual input
device (do not have multiple output
devices to this input
to keep background noise to a minimum).OpenShock.VoiceRecognizer.exe
. Open the Options > Settings
menu, and customize the settings as you see fit.General > Input
is set to whatever virtual (or phsyical) capture
device you used in banana
or potato
.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 the OpenShock
sedttings.Browser Proxy
, ensure you set the Port
to a non-zero value (recommended 5000
, but use whatever is available for you).Vosk
, set the Vosk > Model
setting to the base directory of the extracted model from step #2
.Save
and then close the window via the Close
button or x
.Start
button. If you are using a Browser 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 a bool
value.