Drawing skyline outline

Revision as of 23:19, 21 November 2025 by Lemzwerg (talk | contribs) (New category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

By setting the 'debug-skylines Scheme property, you can turn your score into a nice funky artwork :-)

More seriously, drawing this skyline can be helpful to debug spacing and collision issues. (Still, it does make your score pretty; so just try it, no matter how much you really need to...)

\version "2.24"

%% http://lsr.di.unimi.it/LSR/Item?id=256

%here starts the snippet:

#(ly:set-option 'debug-skylines)

{
  a,,1 | a'4 b' c'' d'' \break
  \repeat unfold 2 {a' b' c'' d''} | b''''1
}

\paper {
  ragged-right = ##t
  tagline = ##f
}