Krait is a small command line application that records and plays MIDI messages.
WARNING: This is a work-in-progress and was created fairly quickly so use at your own risk.
To get Krait running in the terminal, first makes ure you you have a Node and NPM installed.
git clone https://github.com/levibeach/krait.git
cd krait
npm install
npm run start
# OR
node index
The idea is to quickly arm and record loops:
- Select a loop by pressing any number key 1-9.
- The loop you selected will highlight indicating that it is ready to record (armed).
- As soon as a MIDI signal is detected from the MIDI in it will start recording messages to the loop.
- When you want to stop the recording, just press the same number key again.
After you have stopped recording the loop will immediately start playing so that there is virtually no pause when looping in a live session.
If you want to add to an existing loop:
- Select a loop you by pressing the number key.
- Play something!
- Press the loop number key again.
While holding Shift
:
- Press a number once to pause/replay that loop.
- Double-press a number while it is playing to delete that loop.