LSR/256
< LSR
Der Inhalt dieser Seite wurde aus dem LilyPond Snippet Repository übernommen und steht unter folgender Lizenz: CC0. See Public Domain Help Pages for more info. |
Beschreibung
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...)
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...)
%% http://lsr.di.unimi.it/LSR/Item?id=256
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% LSR workaround:
#(set-default-paper-size "a6" 'landscape)
\paper { tagline = ##f }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%here starts the snippet:
#(ly:set-option 'debug-skylines)
\book {
\score {
{
a,,1 | a'4 b' c'' d'' \break
\repeat unfold 2 {a' b' c'' d''} | b''''1
}
}
}
%% http://lsr.di.unimi.it/LSR/Item?id=256
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% LSR workaround:
#(set-default-paper-size "a6" 'landscape)
\paper { tagline = ##f }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%here starts the snippet:
#(ly:set-option 'debug-skylines)
\book {
\score {
{
a,,1 | a'4 b' c'' d'' \break
\repeat unfold 2 {a' b' c'' d''} | b''''1
}
}
}