UI: Components

Piano Keys

<ui-piano-keys> is a custom element that renders a virtual piano.
Attributes are keys, startnote and label.
Default values for those are: 61 keys, C2 as startnote and no label.

Events:

Press a key …

With opposite color-scheme


Variants

With keys="49", chord="C+maj9"


With keys="32" and startnote="A2"