David,

On Mon, Oct 24, 2016 at 9:10 AM, David Sumbler [via Lilypond] <
ml-node+s1069038n195665...@n5.nabble.com> wrote:

> \version "2.19.46"
>
> \language "english"
>
> %%Vn2 bars 276-279
> \relative e' {
>   \time 3/2 <e' c>1.\p\< ~ | q ~ | q | <c g> |
> %%Vn2 bars 280-283
>   << { \stemUp d2(\mp bf1 ~ | bf1. ~ | bf ~ | bf1)} \\ {f1. ~ | f ~ | f
> ~ | f1 } >> r2 |
> }
>
> The above extract from one of my files compiles to give the result I
> want, except that it produces an "unterminated crescendo" warning; also
> the p marking and the hairpin, which should start at bar 276 and end at
> the mp marking in bar 280, do not appear.
>
> I have tried moving the \mp to the lower note of the chord in bar 280,
> which produces the same result, and I have also tried including it with
> both upper and lower notes, which then gives 2 mp markings as well as
> the warning.
>
> What is the simplest way to achieve what I want?


The short answer: Use explicit voices.

The long answer:

The construct << { ... } \\ { ... } \\ ... >> creates COMPLETELY NEW
VOICES. So, the original section's hairpin really doesn't have a
termination in the same voice it started. Here's the basic structure that
should do the job for you:

%%%%%%%%%%%%%

\version "2.19.46"

\language "english"

%%Vn2 bars 276-279
\relative e' {
  \time 3/2 <e' c>1.\p\< ~ | q ~ | q | <c g> |
%%Vn2 bars 280-283
  <<
    { \voiceOne d2(\mp bf1 ~ | bf1. ~ | bf ~ | bf1) }  % the original voice
continues here
    \new Voice { \voiceTwo f1. ~ | f ~ | f ~ | f1 }  % temporary second
voice
  >> \oneVoice r2 |  % and finally continues here
}

%%%%%%%%%%%%%

HTH,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Hairpin-and-simultaneous-expressions-tp195665p195666.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to