https://github.com/abbychau/midi2keys
Takes MIDI events and turns them into keypresses.
https://github.com/abbychau/midi2keys
Last synced: about 2 months ago
JSON representation
Takes MIDI events and turns them into keypresses.
- Host: GitHub
- URL: https://github.com/abbychau/midi2keys
- Owner: abbychau
- License: apache-2.0
- Created: 2023-10-14T17:16:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-14T17:19:54.000Z (over 1 year ago)
- Last Synced: 2025-02-14T03:14:55.388Z (4 months ago)
- Language: Rust
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
MIDI-to-Keypress
================Takes MIDI events and turns them into keypresses.
Renewed from: https://github.com/xobs/midi-to-keypress/releases for new version of Rust version and Rust libraries.Also, this version uses `#` character for delimiting config file, instead of ` ` character, because `space` key is very commonly used in daily typing or controlling.
Building
--------`cargo run` or `cargo build` for debug build
`cargo build --release` for release build
Usage
------ "cargo run -- --list" : list all midi devices
- "cargo run -- --device [device-name]" : Specify a device to use as an input
- "cargo run -- -f mappings/sharps.txt" : Specify a mapping file to useMapping Files
-------------Mapping files are located in `mappings` folder.
- `sharps.txt` : `sdf jkl` are respectively mapped from F4 to B4, with sharp notes
- `sdf-jkl.txt` : `sdf jkl` are respectively mapped from, C4 to B4, all white notes