Am 14.10.2015 um 00:30 schrieb Michał Konopacki:
>
> Hello List!
>
>  
>
> First of all thanks for all the community that emerged around this
> wonderful software. I’m occasional lilypond user.
>
> My question is:
>
>  
>
> \version "2.19.18"
>
> \relative c' { c[8 d]}
>

What you are doing here is a kind of shorthand notation.
Actually LilyPond interpretes this as:
- a c' without explicit duration: use c'4
- an explicit beam to that crotchet -> ignore that
- a duration (8) without a pitch -> repeat the previous pitch: take as c'8
- d'8 -> ignore the explicit beam, the two quavers are beamed anyway.

You can try the following expressions to see:

\relative c' { c 8 d } % nothing between the pitch and the duration
\relative c' { c \f 8 d } % anything between the pitch and the duration

HTH
Urs

>  
>
> The following code creates doubled c (and we have three notes c c d).
>
> If I change to:
>
> \version "2.19.18"
>
> \relative c' { c8[ d]}
>
>  
>
> We have normal output as suspected
>
>  
>
> Is it bug or feature, if feature - why is it so?
>
>  
>
> Thanks,
>
> Michał
>
>
>
> _______________________________________________
> 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

Reply via email to