[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Polyphonic rests
From: |
Mats Bengtsson |
Subject: |
Re: Polyphonic rests |
Date: |
Mon, 25 Jun 2007 12:54:00 +0200 |
User-agent: |
Thunderbird 2.0.0.0 (X11/20070326) |
I don't understand how you can read your .ly files if you don't include
any line breaks, like that. Here's a version of your code that works
somewhat better, at least when there is a rest also in the first voice:
\version "2.11.14"
\paper{
#(set-default-paper-size "a4")
top-margin = 0\cm
left-margin = 1\cm
right-margin = 1.5\cm
bottom-margin = 1\cm
between-system-space = 28\mm
}
\header{
title="Sonata op.15"
composer="Fernando Sor"
opus=""
}
one = \relative c' {
<d g b>4 <d g b>4 <e g cis> <e g cis> |
<d fis d'> <d fis d'> <d fis d'> r |
g r g g
}
two= \relative c {
\revert Rest #'direction
s1 | s |
%\override Rest #'staff-position = #2
\times 2/3 {r8 b' d} \times 2/3 {r8 b d}
\times 2/3 {r8 b d} \times 2/3 {r8 b d} |
}
three= \relative c, {
d'4 d d d |
d d d r
g d g g |
}
{
\clef "G_8"
\key c \major
\time 4/4
<<
\one
\\
\three
\\
\two
>>
}
As you can see, I moved your \three to be the second voice according to
LilyPond practice. If you want the triplets with stem down, then you can
keep your original \score block with
{
\clef "G_8"
\key c \major
\time 4/4
<<
\one
\\
\two
\\ \\
\three
>>
}
It seems that LilyPond doesn't consider the alternative you want, namely
to put
the rests between the upper and the lower notes. I have sent a feature
request
to bug-lilypond. As you already know, you can use the a\rest feature to
place
each rest where you want it. As an alternative, you can fix one and the
same
position for all rests, using
\override Rest #'staff-position = #2
(just remove the comment in the full example above, to see what it gives).
/Mats
Claus Rogge wrote:
Mats Bengtsson <address@hidden> wrote:
As I already pointed out, you may be able to get even better help from
the mailing list, if you include some examples of
LilyPond code where you have trouble.
OK I´ll cut it down ...
\version "2.11.14"
\paper{#(set-default-paper-size "a4") top-margin = 0\cm left-margin =
1\cm right-margin = 1.5\cm bottom-margin = 1\cm between-system-space =
28\mm}
\header{title="Sonata op.15" composer="Fernando Sor" opus=""}
one = \relative c' {<d g b>4 <d g b>4 <e g cis> <e g cis> <d fis d'> <d
fis d'> <d fis d'> r g r g g }
two= \relative c {s1 s \times 2/3 {r8 b' d} \times 2/3 {r8 b d} \times
2/3 {r8 b d} \times 2/3 {r8 b d} }
three= \relative c, {d'4 d d d d d d r g d g g }
{\clef "G_8" \key c \major
\time 4/4<<
\one
\\
\two
\\
\\
\three
}
f
--
=============================================
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
=============================================
- Polyphonic rests, Claus Rogge, 2007/06/21
- Re: Polyphonic rests, Zoltan Selyem, 2007/06/21
- Re: Polyphonic rests, Mats Bengtsson, 2007/06/21
- Re: Polyphonic rests, Claus Rogge, 2007/06/22
- Re: Polyphonic rests, Mats Bengtsson, 2007/06/22
- Re: Polyphonic rests, Claus Rogge, 2007/06/23
- Re: Polyphonic rests, Claus Rogge, 2007/06/25
- Re: Polyphonic rests, Valentin Villenave, 2007/06/25
- Re: Polyphonic rests, Claus Rogge, 2007/06/25
- Re: Polyphonic rests,
Mats Bengtsson <=
- Re: Polyphonic rests, Claus Rogge, 2007/06/25