Skip to main content

Variable: SHORTCUTS

const SHORTCUTS: object;

Defined in: dom/src/piano/shortcuts.ts:16

Ready-made keyboard layouts. Both assume noteRange.first is a C.

Type Declaration​

HOME_ROW​

HOME_ROW: object;

Every semitone from C, over the two rows of a QWERTY keyboard.

HOME_ROW.keys​

keys: string[];

HOME_ROW_NATURAL​

HOME_ROW_NATURAL: object;

The white keys only, on the home row. Black keys have no shortcut.

HOME_ROW_NATURAL.keys​

keys: string[];