Beat hints for rhythm: Difference between revisions
m New category Tags: Mobile edit Mobile web edit |
mNo edit summary |
||
| Line 1: | Line 1: | ||
This snippet shows how to print beat hints above a | This snippet shows how to print beat hints above a rhythmic staff. | ||
<lilypond version="2.24" | <lilypond version="2.24"> | ||
% | % LSR http://lilypond.1069038.n5.nabble.com/Add-beat-hints-for-rhytm-reading-tt159876.html | ||
% LSR by P.P.Schneider | |||
% by P.P.Schneider | |||
myBreak = { | myBreak = { | ||
| Line 17: | Line 13: | ||
\score { | \score { | ||
<< | << | ||
\new RhythmicStaff | \new RhythmicStaff \with { | ||
\override VerticalAxisGroup.default-staff-staff-spacing = #'() | |||
\override VerticalAxisGroup.default-staff-staff-spacing = #'() | } { | ||
} | |||
\repeat unfold 4 { s4^1 s^2 s^3 s^4 } | \repeat unfold 4 { s4^1 s^2 s^3 s^4 } | ||
\repeat unfold 4 { s8^1 s^"+" s^2 s^"+" s^3 s^"+" s^4 s^"+" } | \repeat unfold 4 { s8^1 s^"+" s^2 s^"+" s^3 s^"+" s^4 s^"+" } | ||
} | } | ||
\new Staff | \new Staff \with { | ||
\consists "Pitch_squash_engraver" | \consists "Pitch_squash_engraver" | ||
squashedPosition = #0 | squashedPosition = #0 | ||
} | } \relative c' { | ||
\numericTimeSignature | \numericTimeSignature | ||
\clef percussion | \clef percussion | ||
| Line 47: | Line 39: | ||
} | } | ||
>> | >> | ||
\layout { | \layout { | ||
\context { | \context { | ||
\RhythmicStaff | \RhythmicStaff | ||
| Line 71: | Line 63: | ||
</lilypond> | </lilypond> | ||
[[Category:Editorial annotations]] | |||
[[Category:Percussion]] | |||
[[Category:Rhythms]] | [[Category:Rhythms]] | ||
[[Category:Staff notation]] | [[Category:Staff notation]] | ||
[[Category:Template]] | [[Category:Template]] | ||
[[Category:Snippet]] | [[Category:Snippet]] | ||