lilypond-user
[Top][All Lists]
Advanced

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

accidentals with trills


From: Daniel Boronka
Subject: accidentals with trills
Date: Fri, 12 Jan 2007 09:43:06 -0800 (PST)

Is there a way to put an accidental between the "tr" and the trill span? I need a "natural" accidental. I need to show that the trill pitches are "A" with "B natural" for the first three and a half bars, then "B flat" , then "G sharp" with "A", then ... etc.
 
Here is the code;



 \version "2.6.4"

       \header {
       title = "Sandman"
       composer = "Humperdinck"
       meter = "Moderato"
       tagline = " lullaby  (2007) "
     }
     #(set-global-staff-size 19)
global = {\key d \major
        \time 4/4
     }
     }
     melody = \relative c'' {
    \key d \major
         
    s4 s s
    f,8 [(g)] a4 a a d cis4. e8 a,4
    f8 [(g)] a4 a a d cis a8 [(b)] c4 r8
    a gis4 gis g4.^\( e'8\) fis,4 fis f4.^\( d'8\) e,2.. ( e'8)
         }
     text = \lyricmode {
         
    Then lit -- tle sleep -- y eye -- lids close,
    And lit -- tle limbs in sweet re -- pose:
    And if they're good and quick -- ly go to sleep,  
    }

     upper = \relative c'' {
        \clef treble
        \key d \major
        \time 4/4
    
    s1
    << { a'1 \startTrillSpan }
       { s2. s8 s16 s32 s64 \grace { s128[\stopTrillSpan s] } } >>
    << { a1 \startTrillSpan }
       { s2. s8 s16 s32 s64 \grace { s128[\stopTrillSpan s] } } >>
    << { a1 \startTrillSpan }
       { s2. s8 s16 s32 s64 \grace { s128[\stopTrillSpan s] } } >>
    << { a2 \startTrillSpan }
       { s4 s8 \grace { s16[\stopTrillSpan s] } } >>
    << { a2 \startTrillSpan }
       { s4 s8 \grace { s16[\stopTrillSpan s] } } >>
    << { gis2 \startTrillSpan }
       { s4 s8 \grace { s16[\stopTrillSpan s] } } >>
    << { g2 \startTrillSpan }
       { s4 s8 \grace { s16[\stopTrillSpan s] } } >>
    << { fis2 \startTrillSpan }
       { s4 s8 \grace { s16[\stopTrillSpan s] } } >>
    << { f2 \startTrillSpan }
       { s4 s8 \grace { s16[\stopTrillSpan s] } } >>
    e1
    \bar "|."
    }
    
     lower = \relative c {
        \clef treble
        \key d \major
        \time 4/4
    
        s1    
    \clef bass
    <<{a'8 (cis e cis) a (d f d) a (cis e cis a' e f d)}\\{a1~ a}>>
    <<{a8 (cis e cis) a (d f d) e, (a cis g) fis (c' b a)}\\{g2 (f e dis)}>>
    <<{r8 gis (b e) r g, (bes e)}\\{e,2 (cis!)}>>
    <<{r8 fis (a d) r f, (bes d)}\\{d,2 (bes)}>>
    <<{r8 e (\change Staff = upper
    \revert Stem #'direction
    b'! cis? d
    \change Staff = lower
    \revert Stem #'direction
    gis, e fis?)}\\{gis,2 (b!)}>>
   
    }

     \score {
        \context ChoirStaff <<
           \context Voice = mel {
               \autoBeamOff
               \melody
     }
     \lyricsto mel \new Lyrics \text
    \context Lyrics = solo \lyricsto solo \text     
       \context PianoStaff <<
           \set PianoStaff.instrument = "Piano  "
           \context Staff = upper \upper
           \context Staff = lower \lower
           >>
    >>      
        \layout {
           \context {
              \Staff minimumVerticalExtent = #'(-3. 0)
           }
        }
    \midi { \tempo 4=75 }
     }  


Daniel Boronka



Ask a question on any topic and get answers from real people. Go to Yahoo! Answers.
reply via email to

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