Plays a note using the provided selection.
Invariants:
selection is omitted, scale/key are read from the DOM and default to Major/C.Major.Optionalselection: { key: string; scaleName: string }Optional explicit selection (key and scaleName).
Note selection + playback helper.
Responsibility:
Side effects:
[data-selected-scale],[data-selected-key]).Units: