lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add beat hints for rhytm reading


From: Pierre Perol-Schneider
Subject: Re: Add beat hints for rhytm reading
Date: Wed, 26 Feb 2014 11:58:54 +0100

2014-02-26 10:35 GMT+01:00 Carlo Vanoni <address@hidden>:
I would like to reproduce this layout:

http://d29ci68ykuu27r.cloudfront.net/product/Look-Inside/large/2965619_02.jpg

As you can see, there is a well aligned "1  2  3  4" beat count above the measures. Sometimes an even more useful "1 + 2 + 3 + 4 +" count is used, with hints on the octave notes, too.
Is there a way to get this with LilyPond?
I thought about using markup on hidden notes, but maybe there is a more standard way to do it.


Hi Carlo,

Try this :

\version "2.18.0"

\score {

<<

\new RhythmicStaff

\with {

\override VerticalAxisGroup.default-staff-staff-spacing = #'(())

}

{

\repeat unfold 2 { s4^1 s^2 s^3 s^4 }

\repeat unfold 2 { s8^1 s^"+" s^2 s^"+" s^3 s^"+" s^4 s^"+" }

}

\new Staff

\relative c'' {

\set Score.proportionalNotationDuration = #(ly:make-moment 1/4)

\override NoteHead #'style = #'slash

\override NoteHead #'font-size = #-4

c4 r r2

r4 c r2

\set Score.proportionalNotationDuration = #(ly:make-moment 1/8)

r2 c4 r

r2 r4 c

}

>>

\layout {

\context {

\RhythmicStaff

\remove "Time_signature_engraver"

\remove "Clef_engraver"

\override BarLine #'transparent = ##t

\override StaffSymbol #'line-count = #0

}

}

}


HTH
Pierre

reply via email to

[Prev in Thread] Current Thread [Next in Thread]