Re: Phrasing slur with multiple voices

2018-02-10 Thread Timothy Lanfear
Here is an alternative approach, putting the g' and f' quavers in the 
voice that continues through the parallel music section but adjusting 
their appearance to have down stems.


\version "2.19.81"

{
  \new Staff {
    \time 2/4
    \voiceOne 4\( 4 4
    <<
  { \voiceTwo g'8 f'8\) }
  \new Voice { \voiceOne a'4 }
  \new Voice { \voiceFour ces'4 }
    >>
  }
}


On 09/02/18 14:11, Andrew Bernard wrote:
Something like this perhaps. You can tune the slur shape better than 
my rough example.


===
\version "2.19.81"

{
  \time 2/4
  \clef treble
  <<
    {
  \voiceOne
  \shape #'((0 . 0.5) (0 . 0.5) (4 . 1) (3 . -3)) Slur
  4^(   |
   a') |
    }
    \new Voice
    {
  \voiceThree
  \stemDown
  s2 s4 ces'4 |
    }
    \new Voice
    {
  \voiceTwo
  \stemDown
  s2
  s4 g'8 f' |
    }
  >>
}

===



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


--
Timothy Lanfear, Bristol, UK.


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


Re: Phrasing slur with multiple voices

2018-02-09 Thread Andrew Bernard
Something like this perhaps. You can tune the slur shape better than my
rough example.

===
\version "2.19.81"

{
  \time 2/4
  \clef treble
  <<
{
  \voiceOne
  \shape #'((0 . 0.5) (0 . 0.5) (4 . 1) (3 . -3)) Slur
  4^(   |
   a') |
}
\new Voice
{
  \voiceThree
  \stemDown
  s2 s4 ces'4 |
}
\new Voice
{
  \voiceTwo
  \stemDown
  s2
  s4 g'8 f' |
}
  >>
}

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


Re: Phrasing slur with multiple voices

2018-02-09 Thread Andrew Bernard
Sorry Brian, it's late and I am dreaming. You cant start a slur on a spacer
rest, Apologies.

Andrew


On 10 February 2018 at 00:54, Andrew Bernard 
wrote:

>
> You could also put spacer rests in the voice to start the slur on, but
> that is also a hack.
>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Phrasing slur with multiple voices

2018-02-09 Thread Andrew Bernard
Hi Brian,

The way I do this is to shape the slur so that it extends past the A. This
is fake out, but you can use \shape to do it, or the more flexible \shapeII
function in the openlilylib library. Although this approach is a bit of a
kludge, it ends up faster than artificially putting the first chord in a
different voice just to do a slur.

You could also put spacer rests in the voice to start the slur on, but that
is also a hack.

Andrew


On 9 February 2018 at 11:49, Brian Kell  wrote:

> I am just learning LilyPond, and to practice I’m engraving Dvořák’s
> Humoresque No. 1 in E-flat Minor, which is in 2/4 time.
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Phrasing slur with multiple voices

2018-02-09 Thread Brian Kell
I am just learning LilyPond, and to practice I’m engraving Dvořák’s Humoresque 
No. 1 in E-flat Minor, which is in 2/4 time.

I’m stuck on the top staff in the attached image (measures 70 and 71).



It seems that there are three voices in the last beat of the second measure. 
The phrasing slur needs to extend from the first chord in the first measure to 
the f'8 in the second measure. Since slurs can’t cross voices, I think the 
eighth notes in the second measure need to be in the same voice as the chord in 
the first measure?

The closest I’ve come is the following:

<< { 4\(  | 4 \stemDown gf'8 f'\) } \\
   { s2 | s4 cf' } \\
   { s2 | s4 af' } >>

But this produces a warning from LilyPond: "ignoring too many clashing note 
columns”, and the gf'8 in the second measure is not offset to the right from 
the cf' and af'.

Suggestions?

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