Inconsistent behavior with additional staves?

2013-12-04 Thread Lovis Suchmann

Hello everyone,

first: I'm new on this mailing list, so I hope I'm on the right place 
for my question:


today when working with LilyPond, I noticed some strange behaviour with 
additional staves. Have a look at the LilyPond code below. When 
interpreting this, the staves named eigth and sixteenth do not end 
after the end of the note but contine futher on. The staves named 
full, half and quarter end after the end of the note as expected. 
I think you will be able to reproduce this behavior, i checked it with 
LilyPond 2.16 and 2.17.95. This inconsistency also happens in a slightly 
different manner when changing \context to \new. I cannot see this 
is intended, so is it a bug?


(If someone is not able to reproduce what I'm talking about, please tell 
me...)


Thank you in advance :)

Lovis

[Lilypond Source Code below]
-

\version 2.17.95

\new Staff = main {

c''1 |



\context Staff = full { c'1 }

\context Staff = half { c'2 }

\context Staff = quarter { c'4 }

\context Staff = eigth { c'8 }

\context Staff = sixteenth { c'16}

 |

c''1 |



\context Staff = full { c'1 }

\context Staff = half { c'2 }

\context Staff = quarter { c'4 }

\context Staff = eigth { c'8 }

\context Staff = sixteenth { c'16}

 |

c''1 |



\context Staff = full { c'1 }

\context Staff = half { c'2 }

\context Staff = quarter { c'4 }

\context Staff = eigth { c'8 }

\context Staff = sixteenth { c'16}

 |

c''1 |

}



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


Re: Inconsistent behavior with additional staves?

2013-12-04 Thread Phil Holmes
- Original Message - 
From: Lovis Suchmann panlo...@aol.com

To: lilypond-user@gnu.org
Sent: Wednesday, December 04, 2013 12:23 PM
Subject: Inconsistent behavior with additional staves?



Hello everyone,

first: I'm new on this mailing list, so I hope I'm on the right place for 
my question:


today when working with LilyPond, I noticed some strange behaviour with 
additional staves. Have a look at the LilyPond code below. When 
interpreting this, the staves named eigth and sixteenth do not end 
after the end of the note but contine futher on. The staves named full, 
half and quarter end after the end of the note as expected. I think 
you will be able to reproduce this behavior, i checked it with LilyPond 
2.16 and 2.17.95. This inconsistency also happens in a slightly different 
manner when changing \context to \new. I cannot see this is intended, 
so is it a bug?


(If someone is not able to reproduce what I'm talking about, please tell 
me...)


Thank you in advance :)

Lovis


I've no idea what you're trying to achieve, or why LilyPond is doing this, 
but it's easy to work around:


\context Staff = eigth { c'8 s128 }
\context Staff = sixteenth { c'16 s128 }


--
Phil Holmes 



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