\acciaccatura and \key

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

\acciaccatura and \key

Gilles Sadowski
Hi.

Running lilypond 2.6.3 on the following:

%---
\version "2.6.3"

theMusic = \relative c''' {
  \time 4/4
  \acciaccatura g16 f1 |
  f1 |
}

\score {
  {
    \key a \minor
    \theMusic
  }
  \layout {}
}
%---

it outputs the following message:

GNU LilyPond 2.6.3
Processing `test2.ly'
Parsing...
Interpreting music...
/usr/share/lilypond/2.6.3/ly/grace-init.ly:26:8: warning: can't end slur
    s1*0
        )
test2.ly:7:20: warning: adding note head to incompatible stem (type = 16)
  \acciaccatura g16
                    f1 |
test2.ly:7:20: warning: maybe input should specify polyphonic voices
  \acciaccatura g16
                    f1 |[2]
/usr/share/lilypond/2.6.3/ly/grace-init.ly:20:8: warning: unterminated slur
    s1*0
        (
Preprocessing graphical objects...
Calculating line breaks...
Calculating page breaks...
Layout output to `test2.ps'...
Converting to `test2.pdf'...

and the resulting score doesn't display the grace note (and its slur) correctly.

[Moving the \key inside the "theMusic" variable seems to work around the
problem, but I prefer the other way...]


Regards,
Gilles


_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: \acciaccatura and \key

Frédéric Bron
Same problem as the one I reported. Also solved in development version
2.7.17 (and probably later).

Fred

Gilles wrote:

>Hi.
>
>Running lilypond 2.6.3 on the following:
>
>%---
>\version "2.6.3"
>
>theMusic = \relative c''' {
>  \time 4/4
>  \acciaccatura g16 f1 |
>  f1 |
>}
>
>\score {
>  {
>    \key a \minor
>    \theMusic
>  }
>  \layout {}
>}
>%---
>
>it outputs the following message:
>
>GNU LilyPond 2.6.3
>Processing `test2.ly'
>Parsing...
>Interpreting music...
>/usr/share/lilypond/2.6.3/ly/grace-init.ly:26:8: warning: can't end slur
>    s1*0
>        )
>test2.ly:7:20: warning: adding note head to incompatible stem (type = 16)
>  \acciaccatura g16
>                    f1 |
>test2.ly:7:20: warning: maybe input should specify polyphonic voices
>  \acciaccatura g16
>                    f1 |[2]
>/usr/share/lilypond/2.6.3/ly/grace-init.ly:20:8: warning: unterminated slur
>    s1*0
>        (
>Preprocessing graphical objects...
>Calculating line breaks...
>Calculating page breaks...
>Layout output to `test2.ps'...
>Converting to `test2.pdf'...
>
>and the resulting score doesn't display the grace note (and its slur) correctly.
>
>[Moving the \key inside the "theMusic" variable seems to work around the
>problem, but I prefer the other way...]
>
>
>Regards,
>Gilles
>
>
>_______________________________________________
>lilypond-user mailing list
>[hidden email]
>http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>  
>



_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: \acciaccatura and \key

Gilles Sadowski
In reply to this post by Gilles Sadowski
>
> [Moving the \key inside the "theMusic" variable seems to work around the
> problem, but I prefer the other way...]
>
>

Well, this workaround actually doesn't work in the file from which I
extracted the minimal example posted earlier :-(

It seems that the problem is with grace notes at the start of a piece...


Gilles


_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user