Translates MIDI-Events from your KORG nanoKontrol2 to the obs-websocket
Download latest Release, extract the Archive, and run Executable. Connect to obs-websocket
A working obs-websocket installation.
The default config is my own preference. Different people might want different setups. So here you go.
The Binds-config has to be in the same folder as the executable and has to be named config.xml
.
The structure is as follows:
<?xml version="1.0" encoding="utf-8" ?>
<config>
<inputs>
</inputs>
<outputs>
</outputs>
</config>
inputs
can be slider
,dial
or button
. Each input consists of two attributes: midicontrolid
&action
.
midicontrolid
is the MIDI-Control to be assigned.
slider
- and dial
-Actions can be:
setobsvolume(<source>)
setwindowsvolume(<source>)
button
-Actions can be:
obsmute(<source>)
switchscene(<sceneindex>)
windowsmute(<source>)
previoustrack()
nexttrack()
playpause()
startstopstream()
savereplay()
<source>
can be:
desktop1
desktop2
mic1
mic2
mic3
<sceneindex>
is a zero-based integer.
Example:
<button midicontrolid="48" action="windowsmute(desktop1)" />
outputs
can only be output
. Each output
consists of at least two attributes: midicontrolid
&event
.
midicontrolid
is the MIDI-Control to be assigned.
event
-Values can be:
obsmutechanged
windowsmutechanged
streamstatuschanged
replaystatuschanged
sceneswitched
Example: <output midicontrolid="41" event="streamstatuschanged"/>
The events obsmutechanged
and windowsmutechanged
additionally need the attribute source
.
source
can be:
desktop1
desktop2
mic1
mic2
mic3
Example: <output midicontrolid="48" event="windowsmutechanged" source="desktop1"/>
The event sceneswitched
additionally needs the attribute sceneindex
, which is a zero-based integer.
Example: <output midicontrolid="32" event="sceneswitched" sceneindex="0"/>
- NAudio - MIDI Controls
- AudioSwitcher - Windows Audio Controls
- Newtonsoft.Json - Because that is what everyone uses for JSON
- websocket-sharp - To connect to obs-websocket
- OBS-Websocket-Sharp - To connect to obs-websocket
This project is licensed under the MIT License - see the LICENSE.md file for details