On May 14, 2011, at 4:02 PM, Xavier Scheuer wrote:
> Hi,
>
> Since a few months I am using my own "glissandoGrace" grace-function
> to print glissando without starting note (I made this "modified" grace
> invisible, but the glissando visible).
>
> Unfortunately I see that with 2.13.61 a glissando within a grace is no
> longer printed.
>
> Here is a minimal example, output with 2.12 and 2.13 are in attachment.
> Is this intentional? Or should it be considered as a bug ?
>
> %% MINIMAL EXAMPLE
> %% glissando-within-grace
>
> % Just to actually *see* the glissando (minimum-length)
> \once \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
> \once \override Glissando #'minimum-length = #4
> \grace c'8 c''4
>
> %% END OF MINIMAL EXAMPLE
>
>
> Cheers,
> Xavier
>
> PS: Just as information, here is my "glissandoGrace" grace-function.
>
> startGlissandoGraceMusic = {
> \once \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
> \once \override Glissando #'minimum-length = #4
> \hideNotes
> s1*0\glissando
> }
> stopGlissandoGraceMusic = {
> \unHideNotes
> s1*0
> }
> glissandoGrace = #(def-grace-function startGlissandoGraceMusic
> stopGlissandoGraceMusic
> (_i "Create an invisible grace for glissando without starting note"))
>
I think you left out the glissando
\version "2.13.61"
{
\once \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
\once \override Glissando #'minimum-length = #4
\grace c'8 \glissando c''4
\once \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
\once \override Glissando #'minimum-length = #4
\grace \hideNotes c'8 \glissando \unHideNotes c''4
}
I get a good result in the most recent git.
Cheers,
Mike
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel