lilypond-user
[Top][All Lists]
Advanced

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

lyrictext and votabracket


From: Jacopo Binosi
Subject: lyrictext and votabracket
Date: Wed, 11 Jul 2007 15:36:01 +0200
User-agent: Mozilla Thunderbird 1.5.0.12 (Windows/20070509)

hi,
I'm trying to write left and right hand on a drumstaff
I'm using \Lyrics and it works fine.
I'm wondering if is it possible to have liric under the voltabracket
I try movin the voltabracket above the lyrictext and viceversa but it doesnt work

Thanks in advance

Bainos

I include a snippet

\layout {
   #(set-global-staff-size 12)
   \context {
       \DrumStaff
       \remove "Clef_engraver"
       \override TimeSignature #'style = #'()
   }
}


MyVoiceOne = {\voiceOne
\override Beam #'positions = #'(6 . 6) %\override Rest #'extra-offset = #'(0 . -2.0) }

MyVoiceTwo = {\voiceTwo
\override Beam #'positions = #'(-6 . -6) %\override Rest #'extra-offset = #'(0 . +2.0) }

Hup = \drummode {
       hh16 sn hh crashcymbal
       hh16 sn hh crashcymbal
       hh16 sn hh crashcymbal
       \set Staff.voltaSpannerDuration = #(ly:make-moment 1 4)
       \set Score.repeatCommands = #'((volta "1." ))
       tomfh16 crashcymbal hh crashcymbal
       \set Score.repeatCommands = #'((volta #f))
       \set Score.repeatCommands = #'((volta "2." ))
       tomfh16 crashcymbal tomfh crashcymbal
       \set Score.repeatCommands = #'((volta #f))
}

Hdown = \drummode {
   \override Staff.VoltaBracket #'padding = #4
   \bar "|.."
       bd8 pedalhihat16 bd
       bd8 pedalhihat16 bd
       bd8 pedalhihat16 bd
       \set Score.voltaSpannerDuration = #(ly:make-moment 1 4)
       \set Score.repeatCommands = #'((volta "1." ))
       bd8 pedalhihat16 bd
   \bar "||"
       \set Score.repeatCommands = #'((volta #f))
       \set Score.repeatCommands = #'((volta "2." ))
       bd8 pedalhihat16 bd
       \set Score.repeatCommands = #'((volta #f))
   \bar"..|"
}

\score{<<
\new Lyrics \with {
   }\lyricmode {
       \override LyricText #'X-offset = #+0.5
       \override LyricText #'Y-offset = #-10
       \override LyricText #'font-size = #-1
       D16 S D S
       D S D S
       D S D S
       D S D S | D S D S
}
\new DrumStaff {<<
   \new DrumVoice {  \MyVoiceOne \Hup }
   \new DrumVoice {  \MyVoiceTwo \Hdown }
>>}
>>}






reply via email to

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