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 rhytmic staff.
This snippet shows how to print beat hints above a rhythmic staff.


<lilypond version="2.24" full>
<lilypond version="2.24">
%% http://lsr.di.unimi.it/LSR/Item?id=901
% LSR http://lilypond.1069038.n5.nabble.com/Add-beat-hints-for-rhytm-reading-tt159876.html
 
% LSR by P.P.Schneider
%=> http://lilypond.1069038.n5.nabble.com/Add-beat-hints-for-rhytm-reading-tt159876.html
% by P.P.Schneider
 
\paper { tagline = ##f }


myBreak = {
myBreak = {
Line 17: Line 13:
\score {
\score {
   <<
   <<
     \new RhythmicStaff  
     \new RhythmicStaff \with {
    \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 {
    \with {  
       \consists "Pitch_squash_engraver"
       \consists "Pitch_squash_engraver"
       squashedPosition = #0
       squashedPosition = #0
     }
     } \relative c' {
    \relative c' {  
       \numericTimeSignature
       \numericTimeSignature
       \clef percussion
       \clef percussion
Line 47: Line 39:
     }
     }
   >>
   >>
   \layout {
   \layout {
    indent = 0
     \context {
     \context {
       \RhythmicStaff
       \RhythmicStaff
Line 71: Line 63:
</lilypond>
</lilypond>


[[Category:Editorial annotations]]
[[Category:Percussion]]
[[Category:Rhythms]]
[[Category:Rhythms]]
[[Category:Percussion]]
[[Category:Editorial annotations]]
[[Category:Staff notation]]
[[Category:Staff notation]]
[[Category:Template]]
[[Category:Template]]
[[Category:Snippet]]
[[Category:Snippet]]