Visualize piano in DOM. Demo.
var Keyboard = ; //optionsvar keyboad = element: document //if omitted, element is created range: 'c4' 'c#6' //notes range, numbers or names a11y: false //focusable & keyboard interactions; //eventskeyboard ; //APIkeyboard;keyboardactiveNotes; // Set <49, 16, 28>keyboard; //pipe to midikeyboard; //pipe from midivar midiIn = mode: 'piano' offset: keyboardrange0;midiIn; //pipe to simple synthesizer WIPkeyboard; //change orientation to verticalkeyboardelementclassList;keyboardelementclassList; //call on changing orientation, resize etckeyboard;