Question about \afterGrace

2015-01-15 Thread Cynthia Karl
The following snippet is based on the afterGrace snippet on p.136 of the 
2.19.15 Notation manual:

\version "2.19.15"

\score {
  <<
  \new Staff \relative c'' {   
 d1~\afterGrace
 d1\startTrillSpan { c32[ d]\stopTrillSpan }
 c2 r2
  }
  \new Staff \relative c'' {
 \repeat unfold 16 d8 
 d8 r8 r4 r2
  }
  >>
  \layout {}
  \midi {}
}

This snippet produces the attached output, showing that the two grace notes 
occur after beat 3 and before beat 4 of the second measure; the midi file also 
shows this.  This doesn't seem right to me.  I think they should occur much 
later in the second measure.  Is this output correct?  Is there a way to slide 
them to just before the bar line at the end of measure 2?



dummy.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Question about \afterGrace

2015-01-15 Thread Jay Anderson
On Thu, Jan 15, 2015 at 11:22 AM, Cynthia Karl  wrote:
> The following snippet is based on the afterGrace snippet on p.136 of the 
> 2.19.15 Notation manual:
>
> \version "2.19.15"
>
> \score {
>   <<
>   \new Staff \relative c'' {
>  d1~\afterGrace
>  d1\startTrillSpan { c32[ d]\stopTrillSpan }
>  c2 r2
>   }
>   \new Staff \relative c'' {
>  \repeat unfold 16 d8
>  d8 r8 r4 r2
>   }
>   >>
>   \layout {}
>   \midi {}
> }
>
> This snippet produces the attached output, showing that the two grace notes 
> occur after beat 3 and before beat 4 of the second measure; the midi file 
> also shows this.  This doesn't seem right to me.  I think they should occur 
> much later in the second measure.  Is this output correct?  Is there a way to 
> slide them to just before the bar line at the end of measure 2?


It's in the docs (look for afterGraceFraction):
http://lilypond.org/doc/v2.19/Documentation/notation/special-rhythmic-concerns

Essentially the implementation of afterGrace is a workaround to make
the grace show before the bar line (see music-functions-init.ly).

-Jay

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


Re: Question about \afterGrace

2015-01-15 Thread Pierre Perol-Schneider
Hi Cynthia, Hi Jay,

A little off-topic :

\version "2.19.15"

\markup\italic "I'd right it so:"

\score {
  <<
  \new Staff \relative c'' {
#(define afterGraceFraction (cons 15 16))
d1~\afterGrace
d1\startTrillSpan { c32([\stopTrillSpan d]) }
c2 r2
  }
  \new Staff \relative c'' {
  \repeat unfold 16 d8
d8 r8 r4 r2
  }
  >>
  \layout {}
  \midi {}
}

\markup\italic "Rather than:"

\score {
  <<
  \new Staff \relative c'' {
#(define afterGraceFraction (cons 15 16))
d1~\afterGrace
d1\startTrillSpan { c32[ d]\stopTrillSpan }
c2 r2
  }
  \new Staff \relative c'' {
  \repeat unfold 16 d8
d8 r8 r4 r2
  }
  >>
  \layout {}
  \midi {}
}

Does anybody knows what Elaine Gould says about that?

2015-01-15 20:04 GMT+01:00 Jay Anderson :

> On Thu, Jan 15, 2015 at 11:22 AM, Cynthia Karl  wrote:
> > The following snippet is based on the afterGrace snippet on p.136 of the
> 2.19.15 Notation manual:
> >
> > \version "2.19.15"
> >
> > \score {
> >   <<
> >   \new Staff \relative c'' {
> >  d1~\afterGrace
> >  d1\startTrillSpan { c32[ d]\stopTrillSpan }
> >  c2 r2
> >   }
> >   \new Staff \relative c'' {
> >  \repeat unfold 16 d8
> >  d8 r8 r4 r2
> >   }
> >   >>
> >   \layout {}
> >   \midi {}
> > }
> >
> > This snippet produces the attached output, showing that the two grace
> notes occur after beat 3 and before beat 4 of the second measure; the midi
> file also shows this.  This doesn't seem right to me.  I think they should
> occur much later in the second measure.  Is this output correct?  Is there
> a way to slide them to just before the bar line at the end of measure 2?
>
>
> It's in the docs (look for afterGraceFraction):
>
> http://lilypond.org/doc/v2.19/Documentation/notation/special-rhythmic-concerns
>
> Essentially the implementation of afterGrace is a workaround to make
> the grace show before the bar line (see music-functions-init.ly).
>
> -Jay
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Question about \afterGrace

2015-01-15 Thread Jay Anderson
On Thu, Jan 15, 2015 at 12:21 PM, Pierre Perol-Schneider
 wrote:
> ...
>
> Does anybody knows what Elaine Gould says about that?

I assume you're talking about whether the trill should extend over the
finishing grace notes. The answer is no. The examples on page 138 end
the trill line before the grace notes. Gould also says "the trill line
continues right up to the following notehead or its accidental (if it
has one)", or it "stops at the barline".

-Jay

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


Re: Question about \afterGrace

2015-01-15 Thread Pierre Perol-Schneider
Thank you Jay.
Pierre

2015-01-16 6:02 GMT+01:00 Jay Anderson :

> On Thu, Jan 15, 2015 at 12:21 PM, Pierre Perol-Schneider
>  wrote:
> > ...
> >
> > Does anybody knows what Elaine Gould says about that?
>
> I assume you're talking about whether the trill should extend over the
> finishing grace notes. The answer is no. The examples on page 138 end
> the trill line before the grace notes. Gould also says "the trill line
> continues right up to the following notehead or its accidental (if it
> has one)", or it "stops at the barline".
>
> -Jay
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user