\version "2.20.0" \pointAndClickOff \header { title = "Dengoso" composer = "João Pernambuco" copyright = \markup { \with-url #"https://creativecommons.org/licenses/by-sa/4.0/" \line { CC BY-SA 4.0 } } tagline = \markup { \with-url #"https://euandre.org/music.html" \line { euandre.org/music.html } } } cWithSlash = \markup { \fontsize #-2 \combine \roman C \translate #'(0.6 . -0.4) \draw-line #'(0 . 2.0) } pestana = #(define-music-function (barre location str music) (string? ly:music?) (let ((elts (extract-named-music music '(NoteEvent EventChord)))) (if (pair? elts) (let ((first-element (first elts)) (last-element (last elts))) (set! (ly:music-property first-element 'articulations) (cons (make-music 'TextSpanEvent 'span-direction -1) (ly:music-property first-element 'articulations))) (set! (ly:music-property last-element 'articulations) (cons (make-music 'TextSpanEvent 'span-direction 1) (ly:music-property last-element 'articulations)))))) #{ \once \override TextSpanner.font-shape = #'upright \once \override TextSpanner.style = #'line \once \override TextSpanner.bound-details = #`((right (text . ,#{ \markup { \draw-line #'( 0 . -.5) } #}) (Y . 0)) (left (text . ,#{ \markup { \cWithSlash \fontsize #-2 #str } #}) (Y . 0) (attach-dir . -2))) $music #}) globals = { \clef "treble_8" \key d \major \time 2/4 \set fingeringOrientations = #'(left) \tempo 4 = 100 } upper = \relative c { \globals r16 8 16 8 16 | 8. a16 8. g16 | 8. fis16 8. 16 | r2 | r16 d8 e16 fis e8 d16 | a'8. a16 g8. g16 | fis8. fis16 f8. e16 | r2 | 8 \pestana #"II" { fis' d16 } ~ | e2 | d8 \pestana #"II" { fis' d16 } e~ | e2 | \repeat volta 2 { \pestana #"V" { a16 8 16 r16 8 16 | a16 8 16 r16 | } 16 8 16^\markup { \cWithSlash \fontsize #-2 II } 8 a | 16 8 16 \pestana #"II" { cis'8 } | 16 8 16 8 | 16 8 16 r16 | 16 8 16 8 | 16 8 16 8 | \pestana #"V" { a'16 8 16 r16 8 16 | a16 8 16 r16 | } 16 8 16^\markup { \cWithSlash \fontsize #-2 II } 8 a | 16 8 16 \pestana #"II" { cis'8 } | d'16 8 16 dis'8 | 8 16 ( ) | } \alternative { { d, \pestana #"II" { a'' d fis g fis g gis } | } { r4 ^\markup { \cWithSlash \fontsize #-2 VII } | } } \bar "||" \repeat volta 2 { \key d \minor 16 a a a a a | g g g g g | f f f f f | r e' r ( ) | ( ) c' a | ( ) ( ) | ( ) ( ) | ( ) | a a a a a | g g g g g | \pestana #"III" { f, f f, f f f, } | r \pestana #"II" { ( e')~ e4 } \pestana #"III" { 16( ) } | ( ) ( ) | } \alternative { { r r | } { r4 ^\markup { \cWithSlash \fontsize #-2 X } | } } \key d \major \pestana #"V" { a16 8 16 r16 g'8 fis16 | a16 8 16 r16 cis fis cis | } 16 8 16^\markup { \cWithSlash \fontsize #-2 II } 8 a | b16 8 16 \pestana #"II" { cis'8 } | d'16 8 16 fis'8 | e'16 8 16 r16 g cis e | 16 8 16 8 | e'16 8 16 8 | \pestana #"V" { a'16 8 16 r16 g'8 fis16 | a16 8 16 r16 cis fis cis | } 16 8 16^\markup { \cWithSlash \fontsize #-2 II } 8 a | b16 8 16 \pestana #"II" { cis'8 } | d'16 8 16 dis'8 | e'8 16 d'( b) g | fis d' a fis e cis' g e r4 ^\markup { \cWithSlash \fontsize #-2 VII } | \bar "||" \key d \minor 16 8 16 f'8 | 16 8 16 8 | 16 8 16 8 | 16 8 16 8 | 16 8 16 f'8 | \pestana #"V" { 16 8 16 a,8 | 16 c, } b, | \pestana #"V" { c, a c a' c, } | 8 16 f'8 | f'16 8 16 8 | \pestana #"III" { 16 8 16 g'8 | g'16 8 16 } \pestana #"V" { 8 } | \pestana #"V" { 16 8 16 8 16 | 8 16 8 16 | 8 a16 a 8 16 | 8 a16 a a8 a16 | } \key d \major \pestana #"V" { a'16 8 16 r16 g'8 fis16 | a16 8 16 r16 cis fis cis | } 16 8 16^\markup { \cWithSlash \fontsize #-2 II } 8 a | b16 8 16 \pestana #"II" { cis'8 } | d'16 8 16 fis'8 | e'16 8 16 r16 g cis e | 16 8 16 8 | e'16 8 16 8 | \pestana #"V" { a'16 8 16 r16 g'8 fis16 | a16 8 16 r16 cis fis cis | } 16 8 16^\markup { \cWithSlash \fontsize #-2 II } 8 a | b16 8 16 \pestana #"II" { cis'8 } | d'16 8 16 dis'8 | e'8 16 d'( b) g | fis d' a fis e cis' g e r4 ^\markup { \cWithSlash \fontsize #-2 VII } | \bar "|." } lower = \relative c { \globals r2 | r8 a r a | r8 a r a | r16 8 16 8 16 | d16 r8. r4 r8 a r a | r8 a r a | r16 a8 b16 cis b8 a16 | d,4. a''16 a,~ | a a8 b16 cis b8 a16 d,4. a''16 a,~ | a a8 b16 cis b8 a16 | \repeat volta 2 { d,4 dis' | g, | 16 fis8 fis16 fis8 fis | e,4 cis' | d, dis | | e' e | a, r4 | d, | e g, | fis'16 fis8 fis16 fis8 fis | e,4 cis' | d, fis | 8 r8 r4 | fis'8. fis16 e8. e16 | } \alternative { { d,2 | } { d8 a' d4 | } } \bar "||" \repeat volta 2 { \key d \minor a'16 a8 a16 a a8 a16 | g g8 g16 g g8 g16 | f f8 f16 f f8 f16 | e4 a, | r2 | d8. r16 r4 | r2 | a2 | a'16 a8 a16 a a8 a16 | g g8 g16 g g8 g16 | f, f8 f16 f f8 f16 | e4 r16 | g4 r4 | d g' | d8. f16 e8. e16 | } \alternative { { d4 r | } { d8 a d4 | } } \key d \major d,4 dis' | g, | 16 fis8 fis16 fis8 fis | e,4 cis' | d, dis | | e' e | a, r4 | d, | e g, | fis'16 fis8 fis16 fis8 fis | e,4 cis' | d, fis | 8 r8 r4 | fis'8. fis16 e8. e16 | d,8 a' d4 | \key d \minor d,4 d | a' a | a a | a d, | d d | a' a | a' aes | a a | d,, d | d a' | a a | a d | r | d, r | a'2 | d, | \key d \major d4 dis' | e g, | fis'16 fis8 fis16 fis8 fis | e,4 cis' | d, dis | e ais | e' e | a, r4 | d, dis' | e g, | fis'16 fis8 fis16 fis8 fis | e,4 cis' | d, fis | e8 r8 r4 | fis'8. fis16 e8. e16 | d,8 a' d4 | \bar "|." } staff = \new Staff << \upper \\ \lower >> \score { \staff \layout { } } \score { \unfoldRepeats \staff \midi { } }