My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads

Description

Small GNU/Linux program that captures live midi input (a device like /dev/midi1 ) and maps the notes to simulated key presses. The map is set by a simple config file.

Requires X11 with the XTest extension and alsa.

Installation

From source

  1. Make sure you have the X11 and alsa development files (libx11-dev and libasound2-dev in some distributions' repositories)
  2. Download source from the download tab, extract somewhere.
  3. Using the console, cd into the directory and run make
  4. If nothing goes wrong, you should be able to run the application

From binary

  1. Make sure you have alsa installed (libasound2 in some repositories)
  2. Extract the binary from the download page to a directory.
  3. Make executable if necessary.
  4. Run.

Example usage

./mid2key /dev/midi1 fofixdrums Where /dev/midi1 is the midi device, and fofixdrums is the path to the config file.

Example config file

#set note #32 to spacebar
32=space
#set note #33 to keycode 67
33=67
#leave note #34 unset
34=
#also set note 35 to space
35=space
Powered by Google Project Hosting