lilypond-user
[Top][All Lists]
Advanced

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

Re: First line single staff, then double and some other beginner questio


From: Hendrik Maryns
Subject: Re: First line single staff, then double and some other beginner questions
Date: Tue, 28 Jun 2005 21:18:59 +0200
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Mats Bengtsson uitte de volgende tekst op 28/06/2005 13:46:


Hendrik Maryns wrote:

Hi,

After some experimenting a year ago, I started again now with Lilypond 2.6.0 becoming available on Windows (with an easy interface, congratulations!).

In trying to make my first piece, I'd like a first staff for the preamble (voorspel, what's it called?), then from the second line have two staves. I have this now with the following code, but the splitting up in two << >> contexts seems inappropiate.


Definitely! The easiest solution is to take a look at Section
"8.3.2 Hiding staves" in the manual and then figure out how you can
use this feature to get what you want. Hint: Start the second
stave with s1*4 \break

That worked!

But now I have another problem: the text starts from the first line, I only want it to start from the second line, where the s1*4 of the second staff ends, that is. I tried inserting \skip 1*4, but this only skips one note. I couldn't really figure out the \skip syntax. Is there a document which describes the Lilypond syntax? It seems like a bug to me.

Anyway, how can I get my lyrics to begin inside of the repeat?

An alternative solution can be found if you browse through the examples
in the "Tips and Tricks" document.

I assume you mean extra-staff.ly. That's not exactly what I want, and the above works anyway. Bookmarked that page, though!

 > Also, now the \time
signature is ignored in the second and further staves. So how can I achieve this? By hiding the second stave on the first line, or adding a new stave only at a certain point or...

You mean the setting of Staff.TimeSignature #'style ?
The above solution solves half the problem.

Indeed it does.

However, you may
want to read Section "9.1.5 Changing context default settings".

Some more questions: how to add Unicode in the title (I want ë. TeX-syntax \"e didn't work.)

See Section "8.1.5 Text encoding"

Indeed, switched to utf-8, everything's fine now.

And I'd like a pianostaff-like brace in front of my staves, but adding \pianoStaff messes up the text and all.

Search for "brace" in the "LilyPond Index"

That's another superb tip, however, I want this brace to be hidden before the preamble first line. I tried \once \override systemStartDelimiter #'transparent = ##t, but that doesn't seem to do anything. How can I do this?

Also, can I suspend a {}-group and continue it later, or do I have to do the first voice in total, then the second. This is a copy of existing music, as you might have guessed, so that would be easier to type.
>
You might want to use identifiers, see Section "2.18 Organizing larger
pieces"

I'll consider that in the next project...

This is what I have so far:

\version "2.6.0"
\header{
        title = "Erev shell shoshanim"
        composer = "Israël"
}

\layout {
        \context { \RemoveEmptyStaffContext }
}

\new StaffGroup
<<
\override Score.RemoveEmptyVerticalGroup #'remove-first = ##t
\chords {
        d1*2:m g1:m d:m
        d1:m g1*2:m d1:m
        d:m c a:m d:m
        d:m g g:m d:m
        g:m d:m c d:m
}
\once \override systemStartDelimiter #'transparent = ##t
\new Staff \relative c' {
        \time 4/4
        \override Staff.TimeSignature #'style = #'()
        \key f \major
        \once \override TextScript #'extra-offset = #'( 0.0 . 5.0 )
        d4^\markup{Voorspel} d8 c d2
        d4 d8 c d2 \breathe
        d4 e8 f g4 f8 e
        f4 e d2
        \bar "||"
        \break
        \bar "|:"
        \repeat volta 2 {
                d4 d8 c d4 f
                g2~ g4 \breathe d
                g g8 f g4 a
                f1
                f4 f8 e f4 g
                e8( f) e( d) c2 \breathe
                e4 e8 d e4 f
                d1
        }
        \break
        \repeat volta 2{
                a'4 a8 g a4 f
                g2~ g4 \breathe d
                g g8 f g4 a
                f1
                g4 g8 f g4 a
                f~ f8 e d2 \breathe
                e4 e8 d c4 d
                d2. r4
        }
}
\addlyrics {
        %\override SeparationItem #'padding = #0.1
        %\override LyricHyphen  #'minimum-length = #0.0
        \skip 1
        E -- rev shell sho -- sha -- nim
        net -- se na el ha -- bus -- tan
        mor be -- sa -- nim u -- le -- vo -- na
        le ra -- ge -- lech mif -- tan.
        Lai -- la yo -- red le -- hat,
        ve -- ru -- ach sho -- shan nosh -- la
        ha -- va el chash lach shir ba -- lat,
        ze mer -- shell a -- ha -- va.
}
\new Staff
\relative c' {
        \key f \major
        s1*4
        d4 d8 c d4 a'
        b2~ b4 \breathe a
        b b8 a b4 d
        a1
        a4 a8 g a4 bes
        g8( a) g( f) e2 \breathe
        g4 g8 f g4 a
        a1
        a4 a8 g a4 c
        b2~ b4 \breathe a
        bes bes8 a bes4 c
        a1
        bes4 bes8 a bes4 c
        a~ a8 g f2 \breathe
        g4 g8 f e4 f
        f2. r4
        }
>>

TIA, Hendrik
--
Hendrik Maryns

Interesting websites:
www.lieverleven.be      (I cooperate)
www.eu04.com            European Referendum Campaign
aouw.org                The Art Of Urban Warfare





reply via email to

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