lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Avoiding slur collision with other voice


From: James E. Bailey
Subject: Re: Avoiding slur collision with other voice
Date: Sun, 5 Apr 2009 16:34:32 +0200

To get the output by the sample, I would conceptualise this slightly differently. First, there's no need to keep on writing \times 2/3 {} every time. Lilypond can make that easier for you. Secondly, since a) in the orginal it's done this way and b) it's clear by the musical pattern, I would get rid of the \times 2/3 {} altogether after the first measure. Then, you don't have to worry about tuplet brackets and slurs colliding.

#(ly:set-option 'point-and-click #f)
#(ly:set-option 'delete-intermediate-files #t)
\version "2.12.2"

\score {
        \relative c'' {
                \clef treble \key as \minor \time 2/4
                #(revert-auto-beam-setting '(end * * 2 4) 1 4 'Staff)
                \set Staff.beatLength = #(ly:make-moment 1 8)
                <<
                        { s8 ces r ces
                        s8 des[ es des] }
                        \\
                        {
                                \set tupletSpannerDuration = #(ly:make-moment 1 8)
                                \times 2/3 { r16 as^( b) ces( b as) r as^( b) ces( b as) }
                                r16*2/3 b( ces) des( ces b) es( des ces) des( ces b)
                        }
                >>
        }
}

Am 05.04.2009 um 14:47 schrieb Helge Kruse:

Forgotten sample file attached...

Helge


Helge Kruse wrote:
Hello,
with help by Trevor I got forward a lot with my scores. Currently I still have a little issue with slurs. The original score, that I want to mimic, has slurs _above_ the noteheads: http://dj1na.gmxhome.de/pg-0009.JPG
Lilypond puts the slurs below the beams per default. This can be confusing with the triplet indication (see attached slur.ly, measure two, first two triplets). So I want to place them above the notedheads like it's done in the original source.
I am uncertain if these slurs are legato slurs or phrasing slurs. I tried them both and did not found an important difference, probably I am too unexperienced ;-) Should I use () or \(\) ?
Independent of the kind of slurs I get collisions between the slurs and the stems of the other voice. (see attached slur.ly, measure one) There are two pages only with such triplets, so I think it's hard to do this per slur manually.
Can I tell lilypond to avoid these collisions with other voice?
Regards,
Helge
_______________________________________________
lilypond-user mailing list

\score {
  \relative c'' {
    \clef treble \key as \minor \time 2/4
    #(revert-auto-beam-setting '(end * * 2 4) 1 4 'Staff)
    \set Staff.beatLength = #(ly:make-moment 1 8)

    << { s8 ces r ces }
       \\
       {
\slurUp
\phrasingSlurUp
\times 2/3 { r16 as\( b\) }
\times 2/3 { ces( b as) }
\times 2/3 { r as( b) }
\times 2/3 { ces( b as) }
       }
     >> |

    

    << { s8 des[ es des] } \\
       { \times 2/3 { r16( b ces) }
\times 2/3 { des( ces b) }
\times 2/3 { es( des ces) }
\times 2/3 { des( ces b) } 
       }>> |
 }
}
_______________________________________________
lilypond-user mailing list

James E. Bailey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]