#midi #obs #cli

app midibase

send commands to obs-websocket using midi hardware

3 releases (breaking)

0.3.0 Aug 24, 2020
0.2.0 Aug 21, 2020
0.1.0 Aug 20, 2020

#11 in #obs

MIT license

19KB
251 lines

midibase

ferris using a midi pad

A command line application to send commands to obs-websocket based on midi input.

Includes a midi input controlled soundboard that can play mp3, ogg and wav files.

installation

cargo install midibase

setup

Create a file called config.json and add your commands

{
    "commands": [
        {
            "command": "SetCurrentScene",
            "button": 50,
            "scene": "Game"
        },
        {
            "command": "SetCurrentScene",
            "button": 51,
            "scene": "Queue"
        },
        {
            "command": "PlaySound",
            "button": 36,
            "file": "./resources/test-sounds/1.wav"
        }
    ]
}

Then start obs with the obs-websocket plugin installed and run midibase

midibase run

uninstall

To remove midibase just run cargo uninstall midibase

license

MIT

Dependencies

~8–13MB
~255K SLoC