lilypond-user
[Top][All Lists]
Advanced

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

Re: AW: polyphonic layout


From: Mats Bengtsson
Subject: Re: AW: polyphonic layout
Date: Thu, 16 Nov 2006 11:01:43 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060909)

Why do you have a separate <<{...} \\ {...} >> for each bar?
(I agree that it might make the input more readable). Otherwise,
you can save some typing by

    lower = \relative c
    {
       \clef bass
       \key b \major
       \time 6/8
<< { \slurDown \override Rest #'staff-position = #2
           r4 <d b'>8 ( <g d'>4. ) |
           r4 <d b'>8 ( <g d'>4. ) |
           r4 <es a>8 ( <g c>4.  ) } \\
         { g,2. | g2. | g2. |} >>
    }

Notice also how you can specify the position of the rest.

   /Mats

Helge Kruse wrote:

Cameron, thanks for reply. I really forgot to attach to files. So let me
paste the current ly file here. I have already introduced the changes you
mentioned.

\version "2.7.39"
\include "deutsch.ly"

upper = \relative c'' {
                \clef treble
                \key b \major
                \time 6/8
                R2.
                r4 r8 r g16 ( a b d )
                c4. ( c8 ) c16 d es g )
     }
lower = \relative c
         {
        \clef bass
        \key b \major
        \time 6/8
<< { \slurDown f4\rest <d b'>8 ( <g d'>4. ) } \\ { g,2. } >>
       << { \slurDown f'4\rest <d b'>8 ( <g d'>4. ) } \\ { g,2. } >>
       << { \slurDown f'4\rest <es a>8 ( <g c>4.  ) } \\ { g,2. } >>
% I would like to write it like this: % << { r4 <d b'>8 ( <g d'>4. ) } \\ { g,2. } >>
%       << { r4 <d' b'>8 ( <g d'>4. ) } \\ { g,2. } >>
%       << { r4 <es' a>8 ( <g c>4.  ) } \\ { g,2. } >>
%
     }
\book
{
\score {
                \context PianoStaff <<
                        \set PianoStaff.instrument = "HARPE  "
                        \context Staff = upper \upper
                        \context Staff = lower \lower
                >>
                \layout { }
                \midi { \tempo 4=60 }
        }
%       \paper { annotate-spacing = ##t }
}

The layout in the lower staff looks now as expected. But it's annoying to
write \slurDown and f4\rest for each measure. Is there any scheme script
that sets the slur direction and the rest position/distance/offset/what-else
for a lot of measures?

Regards, Helge



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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