Re: Hairpin and simultaneous expressions

2016-10-24 Thread David Sumbler
Thanks, both, for the helpful answers to this problem.

David

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Hairpin and simultaneous expressions

2016-10-24 Thread Gerdau, Michael
> \version "2.19.46"
> 
> \language "english"
> 
> %%Vn2 bars 276-279
> \relative e' {
>   \time 3/2 1.\p\< ~ | q ~ | q |  |
> %%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;

That's exactly what it is and also the cause of the missing hairpin.
You start the hairpin in one voice and the mp appears in another. So it
does not terminate it.

> What is the simplest way to achieve what I want?

Make sure you properly terminate the hairpin.
Either by using explicit voices and making sure your hairpin and the mp are
in the same voice or by using a dedicated dynamics voice.
(in a hurry, therefor no working example, sry)

Kind regards,
Michael
--
Michael Gerdau   email: m...@qata.de
GPG-keys available on request or at public keyserver

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Hairpin and simultaneous expressions

2016-10-24 Thread tisimst
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 |  |
> %%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 |  |
%%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


Hairpin and simultaneous expressions

2016-10-24 Thread David Sumbler
\version "2.19.46"

\language "english"

%%Vn2 bars 276-279
\relative e' {
  \time 3/2 1.\p\< ~ | q ~ | q |  |
%%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?

David



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user