Skip to content

Translates MIDI-Events from your KORG nanoKontrol2 to the OBS-web-socket

License

Notifications You must be signed in to change notification settings

stefilms/OBSKorgNanokontrol2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nanoKontrol2OBS

Translates MIDI-Events from your KORG nanoKontrol2 to the obs-websocket

Getting Started

Download latest Release, extract the Archive, and run Executable. Connect to obs-websocket

Prerequisites

A working obs-websocket installation.

config.xml

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

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

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. sourcecan 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"/>

Built With

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Translates MIDI-Events from your KORG nanoKontrol2 to the OBS-web-socket

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%