[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The crescendo mark with crescTextCresc, partcombine was ignored.
From: |
Carl D. Sorensen |
Subject: |
Re: The crescendo mark with crescTextCresc, partcombine was ignored. |
Date: |
Wed, 7 Jan 2009 10:45:11 -0700 |
On 1/7/09 12:13 AM, "T. Kiriyama" <address@hidden> wrote:
> Thank you for your reply.
>
> 2009/1/7 Carl D. Sorensen <address@hidden>
>> Second, this is potentially a documentation bug, but not a LilyPond bug.
>>
>> partcombine combines music events from the two parts, so there is a
>> crescendo both above and below the staff. The music event, the crescendo,
>> is there.
>>
>> \crescTextCresc is a command that changes a context property, rather than
>> the music. So when you put the partcombine in the new Staff, it doesn't
>> carry over the context properties.
>
> Ok, I understood it is a specification.
>
>> All you have to do is put
>> \crescTextCresc
>> in the Staff that contains the combined parts.
>
> But I 'd like to use both the text crescecend and the hairpin crescecend in
> each parts,
> and I want to use these expressions in combined part same as separate parts.
> (I'm trying to reproduce my old score as electrical, brand-new one.)
>
> Does anyone have good solution for me?
The best solution I could think of was to create a separate music expression
for the dynamics with spacer rests, and put it in parallel with the music.
But that didn't work.
\include "deutsch.ly"
%%
%%
dynamics = {
\crescTextCresc
s2 \times 2/3 { s8 s\< s s s s}
s2\ff s2
}
partone = \relative c' {
\clef treble
\time 4/4
\key c \major
% \crescTextCresc
r2 \times 2/3 {r8 g'-.\<[ g-.] g-.[ h-. d-.]}
g4\ff g4 r2 |
\bar "|."
}
parttwo = \relative c' {
\clef treble
\time 4/4
\key c \major
% \crescTextCresc
r2 \times 2/3 {r8 g'-.\<[ g-.] g-.[ h-. d-.]}
c2\ff r2 |
\bar "|."
}
\score {
<<
\new Staff {
\set Staff.instrumentName = "part one"
\context Voice {
<<
\partone
\dynamics
>>
}
}
\new Staff {
\set Staff.instrumentName = "part two"
\context Voice {
<<
\parttwo
\dynamics
>>
}
}
\new Staff \with { printPartCombineTexts = ##f } {
%%\set Staff.instrumentName = "part one and two"
\override Staff.InstrumentName #'self-alignment-X = #CENTER
\set Staff.instrumentName = \markup \center-column {
\line {part one and two}
"mistaken?"
}
\context Voice {
<<
\partcombine \partone \parttwo
\dynamics
>>
}
}
>>
\layout {
#(set-default-paper-size "a4")
indent = 5\cm
}
}
Anybody else have an idea?
Carl