Home
Random
Log in
Settings
About LilyPond wiki
LilyPond wiki
Search
Editing
Rhythms headword
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Rhythms headword. <lilypond version="2.24"> % Beethoven, Op. 81a % Piano sonata 26 - (Les Adieux) % Movt II - Abwesenheit (L'Absence) % Measures 31 - 34 \include "english.ly" % Circumvent issue #6876: `strict-grace-spacing` ignores % accidentals of the following main note. shiftedGrace = #(define-music-function (offset music) (number? ly:music?) #{ \override NoteHead.X-offset = #(- offset 0.85) \override Stem.X-offset = #offset \grace { $music } \revert NoteHead.X-offset \revert Stem.X-offset #}) \new PianoStaff << \new Staff = "right hand" { \clef treble \key c \minor \time 2/4 \set Score.currentBarNumber = #31 <c''' c''>8(^\markup \italic "a tempo" <g'' g'>) ~ <g'' g'>8( <a'' a'>16 <f'' f'>) | <f'' f'>8[( \shiftedGrace #-0.15 { e''32 f'' e'' d'' } <e''! e'>16 <f'' f'>16]) <g'' g'>16-.([ <a'' a'>-.)] <bf'' bf'>32( <b'' b'>) <b'' b'>( <c''' c''>) | b''32([ c''' d''' c'''32)] g''8 ~ g''32[ a''64( g'']) a''64([ g'') bf''( a''64)] bf''64([ a'') c'''( b''64)] c'''128[ b'' d''' c''' f'''64 f''] | <f'' f'>8[( \shiftedGrace #-0.15 { e''32 f'' e'' d''] } <e''! e'>16 <f'' f'>]) <g'' g'>16-.([ <af''! af'!>-.)] <bf'' bf'>32( <b'' b'>) <b'' b'>( <c''' c''>) | } \new Dynamics { s2\offset Y-offset 1 -\markup \italic "cantabile" | s4 s\tweak style #'none \cresc | s16.\offset Y-offset 1 \p \offset Y-offset 1 \> s32\! s4. | s4 s\tweak style #'none \cresc <>\! | } \new Staff = "left hand" { \set Staff.baseMoment = #(ly:make-moment 1 8) \set Staff.beatStructure = 1,1,1,1 \clef bass \key c \minor \time 2/4 \repeat unfold 3 { <g e>32 c' <g e> c' } <a f> c' <a f> c' | \repeat unfold 2 { <bf g>32 c' <bf g> c' } <bf g> c' <a f> c' <g e> c' <g e> c' | \repeat unfold 3 { <g e>32 c' <g e> c' } <a f> c' <a f> c' | \repeat unfold 2 { <bf g>32 c' <bf g> c' } <bf g> c' <af! f> c' <g e> c' <g e> c' | } >> \layout { \context { \Score \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/40) \override SpacingSpanner.strict-grace-spacing = ##t } } </lilypond> [[Category:Headword]] [[Category:Included in the official documentation]] [[Category:Snippet]]
Summary:
Please note that all contributions to LilyPond wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Meta:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)