lilypond-user
[Top][All Lists]
Advanced

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

...and thy Staff, they comfort me


From: Kieren Richard MacMillan
Subject: ...and thy Staff, they comfort me
Date: Tue, 9 Dec 2003 10:50:55 -0500

[ Mac OS X 10.2.8;  Lilypond 2.0.1 ]

Hello, all --

For some reason, I'm getting this warning when processing:

Calculating line breaks... warning: No spacing wishes found. Does your score have a staff?
warning: No spacing wishes found. Does your score have a staff?

Furthermore, the items don't appear in the order they should (I think) , based on my input (included below this email; actual note values reduced here for space reasons). Any thoughts as to what I'm doing wrong would be appreciated!

Thanks,
Kieren.
______________________

\version "2.0.1"
\include "paper16.ly"
\include "english.ly"

global = \notes { \time 6/8 s8*6*10 }
voiceDyn = \notes { s2.\mp }
melody = \notes \relative c' { a4. b }
text = \lyrics { some words }
pianoDyn = \notes { s2.\p }
upper = \notes \relative c'' { c4. d }
lower = \notes \relative c' { e4. f }
pedalIndications = \notes { s4.\sustainDown s4.\sustainUp\sustainDown }

\score
{
    <<
        \global
        \context Dynamics = VD { \dynamicUp \voiceDyn }
        \addlyrics
        \context Staff = mel
        {
            \property Staff.automaticMelismata= ##t
            << \clef "G_8" \melody >>
        }
        \context Lyrics = melLyr { \text }

        \context PianoStaff
        <<
            \context Staff = upper \upper
            \context Dynamics = PD \pianoDyn
            \context Staff = lower << \clef bass \lower >>
        >>
\context Dynamics = pedals { \property Staff.pedalSustainStyle = #'bracket \pedalIndications }
    >>

    \paper
    {
        linewidth = 427.05\pt  % 6.5in #3 staff / 1.10
        \translator { \RemoveEmptyStaffContext }
        \translator
        {
            \type "Engraver_group_engraver"
            \name Dynamics
            \consists "Output_property_engraver"

            minimumVerticalExtent = #'(-1 . 1)
            pedalSustainStrings = #'("Ped." "*Ped." "*")
            pedalUnaCordaStrings = #'("una corda" "" "tre corde")

            \consists "Piano_pedal_engraver"
            \consists "Script_engraver"
            \consists "Dynamic_engraver"
            \consists "Text_engraver"

            TextScript \override #'font-relative-size = #1
            TextScript \override #'font-shape = #'italic
            DynamicText \override #'extra-offset = #'(0 . 2.5)
            Hairpin \override #'extra-offset = #'(0 . 2.5)

            \consists "Skip_event_swallow_translator"
            \consistsend "Axis_group_engraver"
        }
        \translator
        {
            \PianoStaffContext
            \accepts Dynamics
            VerticalAlignment \override #'forced-distance = #9
        }
    }
}





reply via email to

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