midi-qwerty-keys
v0.0.1 midi keydown keyup browser qwerty
midi-qwerty-keys
Use qwerty keyboard as midi keyboard in the browser.
Install
$ npm install midi-qwerty-keys
API
var QwertyKeys = require('midi-qwerty-keys')
The Piano
var noteStream = QwertyKeys({mode: 'piano', offset: 36})
noteStream.pipe(midiDestination)
Black notes on the qwerty row and whites on the asdf row. Use z
and x
to move up and down octaves and c
, v
to change velocity.
W E T Y U O P [
A S D F G H J K L ; '
The Grid
var noteStream = QwertyKeys({mode: 'grid'})
noteStream.pipe(midiDestination)
The first 8 keys in all letter rows are used. Move the rows up and down using '-' and '=/+' keys.