1.0.0 • Published 4 years ago

qwertytomidi v1.0.0

Weekly downloads
5
License
ISC
Repository
github
Last release
4 years ago

qwerty_to_MIDI_API

=== Use qwerty keyboard as midi keyboard.

Install

$ npm install qwertytomidi

API

var QwertyKeys = require('qwertytomidi')

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.