cuthbertLab / music21j

Javascript port of music21 -- Toolkit for Computational Musicology
Other
144 stars 41 forks source link

add style object basics from music21 #158

Closed mscuthbert closed 2 years ago

mscuthbert commented 2 years ago

lets .style.hideObjectOnPrint work on clefs, ts, ks.

Leaves extra space on the Stream however for the hidden objects. A to-do for later

Screen Shot 2021-12-18 at 07 59 03
mscuthbert commented 2 years ago

Right now, the issue is that renderOptions.displayClef gets overwritten every time the Stream's position is recalculated, so until we separate out renderOptions from style, we can't just rely on users setting renderOptions.

jacobtylerwalls commented 2 years ago

renderOptions.displayClef gets overwritten every time the Stream's position is recalculated

Ah right, okay, sounds like #135. Got it.