1 unstable release
new 0.1.0 | Nov 1, 2024 |
---|
#116 in Audio
108 downloads per month
13KB
228 lines
MIDKb
MIDKb is a udev daemon for Linux that binds MIDI devices to keyboard inputs. It's written in Rust and comes with a (kind of) simple configuration file.
For example, you can use your drumpad as input for SDVX's keys, and bind your CC knobs to the FX knobs.
I wrote this just for that above use case actually. I wanted to play USC with my MIDI controller, but turns out that game does not support MIDI input, only keyboard. So I wrote this program to convert MIDI signals to keyboard presses.
Features
- Bind MIDI notes to keyboard keys
- Bind MIDI CC to keyboard keys
Installation
- Install Rust
- Install dependencies:
sudo dnf install alsa-lib-devel udev-devel
- Clone the repository
- Run the project:
cargo run --release
Configuration
Please refer to the config.toml
file included in the repo for configuration options.
Usage
- Connect your MIDI device
- Configure the
config.toml
file (must be in CWD of the program) - Run the program
Dependencies
~11–38MB
~581K SLoC