[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need help with this trill
From: |
Mats Bengtsson |
Subject: |
Re: Need help with this trill |
Date: |
Fri, 15 May 2009 11:44:06 +0200 |
User-agent: |
Thunderbird 2.0.0.5 (X11/20070716) |
Francisco Vila wrote:
The problem with \afterGrace is that you cannot put a slur:
\new Staff \relative c'''{ \afterGrace a2 {g16[ a]} a2 }
\new Staff \relative c'''{ a2 \acciaccatura {g16[ a]} a2 }
Of course you can:
\new Voice \relative c'''{ \afterGrace a2 ( {g16[ a])} a2 }
By the way, what's wrong with this code? Not having \new Staff
(because I assume it's not needed) it creates three staves!
\relative c'''{ \afterGrace a2 {g16[ a]} a2 }
Well, you just showed to yourself that your assumption was wrong.
Actually, as illustrated in
my example above, you rather need \new Voice, not \new Staff, since
otherwise the \afterGrace
will end up in a separate Voice. In practice this isn't a problem unless
you happen to have an
\afterGrace on the first note of the piece. As soon as there are some
other notes before, the Voice
context has already been created by LilyPond.
/Mats
--
=============================================
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================