Re: Need help with this trill

2009-05-15 Thread Mats Bengtsson



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: mats.bengts...@ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Need help with this trill

2009-05-15 Thread -Eluze


Francisco Vila-5 wrote:
> 
> 
> The problem with \afterGrace is that you cannot put a slur:
> 
> By the way, what's wrong with this code? Not having \new Staff
> (because I assume it's not needed) it creates three staves!
> 
i think this could be related to the issues found about graces in the
beginning of a score;
a workaraound for both is:

{
\relative c'''{
s 1*0
\afterGrace a2 _(
{ g 16[ a] ) }
a2
}   }

please also note the elegant way to temporarily override the direction of
the slur!
-- 
View this message in context: 
http://www.nabble.com/Need-help-with-this-trill-tp23549304p23555641.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Need help with this trill

2009-05-15 Thread Holger Hellebro
Thank you all for your helpful replies.

@Eluze: Yes, that snippet does exactly what I want. Thanks!!

@Kieren: It does indeed, thanks for pointing it out. It's very convenient
too, when there are several of these trills.

Best regards,
Holger

On Fri, May 15, 2009 at 1:29 AM, Kieren MacMillan <
kieren_macmil...@sympatico.ca> wrote:

>  Hi,
>
> <http://lists.gnu.org/archive/html/lilypond-user/2009-04/msg00606.html>
> Does this not exactly answer the (second) question?
>
> Regards,
> Kieren.
>
> > Date: Thu, 14 May 2009 16:14:58 -0700
> > From: elu...@gmail.com
> > To: lilypond-user@gnu.org
> > Subject: Re: Need help with this trill
>
> >
> >
> >
> > Carl D. Sorensen wrote:
> > >
> > >
> > >
> > >
> > > On 5/14/09 3:24 PM, "Holger Hellebro"  wrote:
> > >
> > > I think \graceAfter is what you're looking for.
> > >
> > >> 2. How to put the natural symbol above the trill symbol. I've tried
> > >> ^\markup{\tiny \natural} both before and after the \trill, but the
> trill
> > >> sign
> > >> ends up above the natural sign in either case.
> > >
> > >
> >
> > i tried the following code which seems to work (there is plenty of
> examples
> > in "NR Grace notes"):
> >
> > \version "2.12"
> >
> > { \clef "G_8"
> > \transpose c c' {
> > R 1
> > \override TextScript #'outside-staff-priority = #600
> > \override Script #'outside-staff-priority = #500
> > \slurDown
> > \afterGrace c 1
> > (
> > \trill
> > ^\markup {\teeny \translate #'( .55 . 0 ) \musicglyph
> > #"accidentals.natural" }
> > { c 16[ d] ) }
> > c 1
> > }
> > }
> > --
> > View this message in context:
> http://www.nabble.com/Need-help-with-this-trill-tp23549304p23550774.html
> > Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
> >
> >
> >
> > ___
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > http://lists.gnu.org/mailman/listinfo/lilypond-user
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Need help with this trill

2009-05-14 Thread Kieren MacMillan

Hi,

<http://lists.gnu.org/archive/html/lilypond-user/2009-04/msg00606.html>
Does this not exactly answer the (second) question?

Regards,
Kieren.

> Date: Thu, 14 May 2009 16:14:58 -0700
> From: elu...@gmail.com
> To: lilypond-user@gnu.org
> Subject: Re: Need help with this trill
> 
> 
> 
> Carl D. Sorensen wrote:
> > 
> > 
> > 
> > 
> > On 5/14/09 3:24 PM, "Holger Hellebro"  wrote:
> > 
> > I think \graceAfter is what you're looking for.
> > 
> >> 2. How to put the natural symbol above the trill symbol. I've tried 
> >> ^\markup{\tiny \natural} both before and after the \trill, but the trill
> >> sign
> >> ends up above the natural sign in either case.
> > 
> > 
> 
> i tried  the following code which seems to work (there is plenty of examples
> in "NR Grace notes"):
> 
> \version "2.12"
> 
> { \clef "G_8"
>   \transpose c c' {
>   R 1
>   \override TextScript #'outside-staff-priority = #600
>   \override Script #'outside-staff-priority = #500
>   \slurDown  
>   \afterGrace c 1
>   (
>   \trill
>       ^\markup {\teeny \translate #'( .55 . 0 ) \musicglyph
> #"accidentals.natural" }
>   { c 16[ d] ) }
>   c 1
>   }
>   }
> -- 
> View this message in context: 
> http://www.nabble.com/Need-help-with-this-trill-tp23549304p23550774.html
> Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Need help with this trill

2009-05-14 Thread Francisco Vila
2009/5/15 Carl D. Sorensen :
>> 1. How to get the two minor notes (sort of like appoggiaturas) placed
>> correctly after the main note, at the end of the bar. \appoggiatura seems to
>> always put the minor notes before the actual notes.
>
> I think \graceAfter is what you're looking for.

I think it is rather \afterGrace .

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 }


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 }

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org


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


Re: Need help with this trill

2009-05-14 Thread -Eluze


Carl D. Sorensen wrote:
> 
> 
> 
> 
> On 5/14/09 3:24 PM, "Holger Hellebro"  wrote:
> 
> I think \graceAfter is what you're looking for.
> 
>> 2. How to put the natural symbol above the trill symbol. I've tried 
>> ^\markup{\tiny \natural} both before and after the \trill, but the trill
>> sign
>> ends up above the natural sign in either case.
> 
> 

i tried  the following code which seems to work (there is plenty of examples
in "NR Grace notes"):

\version "2.12"

{ \clef "G_8"
\transpose c c' {
R 1
\override TextScript #'outside-staff-priority = #600
\override Script #'outside-staff-priority = #500
\slurDown  
\afterGrace c 1
(
\trill
^\markup {\teeny \translate #'( .55 . 0 ) \musicglyph
#"accidentals.natural" }
    { c 16[ d] ) }
c 1
}
}
-- 
View this message in context: 
http://www.nabble.com/Need-help-with-this-trill-tp23549304p23550774.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Need help with this trill

2009-05-14 Thread Carl D. Sorensen



On 5/14/09 3:24 PM, "Holger Hellebro"  wrote:

> Hi
> 
> I'm a new Lilypond user and I'm really enjoying the program so far. However I
> am having difficulties typesetting a certain trill. You can see in the
> attached picture what I want to achieve. I run into two difficulties:
> 
> 1. How to get the two minor notes (sort of like appoggiaturas) placed
> correctly after the main note, at the end of the bar. \appoggiatura seems to
> always put the minor notes before the actual notes.

I think \graceAfter is what you're looking for.


> 2. How to put the natural symbol above the trill symbol. I've tried 
> ^\markup{\tiny \natural} both before and after the \trill, but the trill sign
> ends up above the natural sign in either case.

I can't help on this one.

Carl



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


Need help with this trill

2009-05-14 Thread Holger Hellebro
Hi

I'm a new Lilypond user and I'm really enjoying the program so far. However
I am having difficulties typesetting a certain trill. You can see in the
attached picture what I want to achieve. I run into two difficulties:

1. How to get the two minor notes (sort of like appoggiaturas) placed
correctly after the main note, at the end of the bar. \appoggiatura seems to
always put the minor notes before the actual notes.
2. How to put the natural symbol above the trill symbol. I've tried
^\markup{\tiny \natural} both before and after the \trill, but the trill
sign ends up above the natural sign in either case.

Any hints would be really appreciated.

Many thanks,
Holger
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user