Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vengarioth/midibase

A command line application to send commands to obs-websocket based on midi input
https://github.com/vengarioth/midibase

livestreaming midi obs rust twitch

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# midibase

![ferris using a midi pad](./resources/midibase-small.png)

A command line application to send commands to [obs-websocket](https://obsproject.com/forum/resources/obs-websocket-remote-control-obs-studio-from-websockets.466/) 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

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

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](LICENSE)