openlilylib / analysis

Graphical highlighting of musical analysis with GNU LilyPond
GNU General Public License v3.0
5 stars 3 forks source link

Automatic setting of frame's Y params #1

Open uliska opened 7 years ago

uliska commented 7 years ago

So far the Y value of frames has to be passed explicitly.

It would be good if this could (try to) detect the extent of what is actually included in the music and determine the values accordingly.

KlausBlum commented 7 years ago

David Nalesnik once wrote a box engraver that calculates its Y extent from a given music expression: http://lilypond.1069038.n5.nabble.com/box-around-notes-td35581.html

User-specified Y values can also be a valuable feature, especially if you want different Y extents for the left and right border. IMO both approaches are worth being continued.