new Keyboard()
A Class representing a whole Keyboard full of keys.
- Source:
Properties:
Name | Type | Description |
---|---|---|
whiteKeyWidth |
number | default 23 |
scaleFactor |
number | default 1 |
keyObjects |
Object | a mapping of id to |
svgObj |
SVGElement | the SVG object of the keyboard |
markC |
Boolean | default true |
showNames |
Boolean | default false |
showOctaves |
Boolean | default false |
startPitch |
string | default "C3" |
endPitch |
string | default "C5" |
hideable |
Boolean | default false -- add a way to hide and show keyboard |
scrollable |
Boolean | default false -- add scroll bars to change octave |