Pitch training using a MIDI keyboard, in NodeJS