visiablepiano voice entries in
CurrentVisibleVoiceEntries, but it return the first voice entry. So I rewrite to get all voice entries in
instrumentpiano. But I can't get any properties to check left hand or right hand voice.
data-*attributes to some of the SVG elements, and then immediately serialise with .outerHTML. The bug I'm struggling with is that sometimes the
data-*attributes are present in the output - and sometimes they are NOT. There's some race condition involved, probably, but I can't tell what is causing it..