Class: Keyboard

.keyboard. Keyboard

new Keyboard()

A Class representing a whole Keyboard full of keys.

Properties:
Name Type Description
whiteKeyWidth number

default 23

scaleFactor number

default 1

keyObjects Object

a mapping of id to music21.keyboard.Key objects

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

Source:
Music21j, Copyright © 2013-2021 Michael Scott Asato Cuthbert.
Documentation generated by JSDoc 3.6.3 on Wed Jul 31st 2019 using the DocStrap template.