lilypond-user
[Top][All Lists]
Advanced

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

re: vanishing slur ? note with two stems ?


From: navarro
Subject: re: vanishing slur ? note with two stems ?
Date: Wed, 11 Feb 2004 12:19:54 +0100

Please excuse my ignorance: I am still at the very beginning with Lilypond. 
Perhaps 
someone can help with these two questions:

1. How can you produce a note with two stems, one running up and the other 
running 
down obviuosly?. \stemBoth does not seem to do the job. I have looked through 
the 
manuals and I have been unable to find the solution. I guess it must be fairly 
easy.


2. The following code produce the desired  slur (see enclosed file 
visible-slur.pdf) between the d in the first bar and the chord in the second.


        \include "paper23.ly"

        \paper  {
         linewidth = 455.244096\pt
                        }
        \version "2.0.1"

        \score {
                 \notes
                 \new Staff {
                 \time 3/4
                 \clef bass

        \relative c  {

%  a2( d4)

        \simultaneous { { s4 \phrasingSlurUp d2\( }  \\ { \stemBoth g,4  r4 
\stemDown  
        d_5 }}

        \stemUp < d' g, >4\)_2  \stemDown g8_1( f! e d)
                    }
                 }
          \paper { }
        }


However, if I un-comment the line %a2( d4) just below \relative c, thus 
introducing a 
new bar at the beginning, the slur disappears (see enclosed file 
vanishing-slur.pdf) 
and the log file says:

Interpreting music..

/cygdrive/g/Lilypond/question.ly:24:19: warning: can't find start of phrasing 
slur:

\stemUp < d' g, >4\

                  )_2  \stemDown g8_1( f! e d)



/cygdrive/g/Lilypond/question.ly:22:40: warning: unterminated phrasing slur:

\simultaneous { { s4 \phrasingSlurUp d2\

                                       ( }  \\ { \stemBoth g,4  r4 \stemDown 
d_5 }}


Can anybody give me an explanation ?. I have found that the work around is to 
include the last two bars in the same piece of simutaneous code:

\simultaneous { { s4 \phrasingSlurUp d2\( \stemUp d4\) s2 } \\ { \stemBoth g,4  
r4 
\stemDown d_5  \stemUp  g4_2  \stemDown
\slurUp \once   \property Voice.Slur \set #'attachment = #'(head . head) g'8_1( 
f! e d)} }


but I would like to understand why it is happening.


3. I would also be very grateful for a short tutorial on how to control slurs, 
specially 
tweaking with offsets at the tips.


Thanks in advance for any help.

Alfredo Navarro


The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  visible-slur.pdf
     Date:  11 Feb 2004, 12:03
     Size:  10308 bytes.
     Type:  Unknown

Attachment: visible-slur.pdf
Description: Binary data

The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  vanishing-slur.pdf
     Date:  11 Feb 2004, 12:11
     Size:  10358 bytes.
     Type:  Unknown

Attachment: vanishing-slur.pdf
Description: Binary data


reply via email to

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