Barline bug with Staff Timing_engraver?

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

Barline bug with Staff Timing_engraver?

Trevor Bača-2
Looking at the final barline in this 2.7.0 snippet ...

==== begin snippet =========

\score {
  \new StaffGroup <<
     \new Staff {
        \clef treble
        \time 3/4
        d'4 d'4 d'4 |
        d'4 d'4 d'4 |
        d'4 d'4 d'4 |
        d'4 d'4 d'4 \bar "|." |
     }
     \new Staff {
        \clef bass
        \time 4/4
        c'4 c'4 c'4 c'4 |
        c'4 c'4 c'4 c'4 |
        c'4 c'4 c'4 c'4 \bar "|." |
     }
  >>
  \layout {
     raggedright = ##t
     \context {\Score \remove "Timing_engraver"}
     \context {\Staff \consists "Timing_engraver"}
  }
}

=====  end snippet ========

... we see the final barline only in the treble.

Bug? Or maybe I'm confused about moving Timing_engravers around?

Trevor.


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

Re: Barline bug with Staff Timing_engraver?

Erik Sandberg-2
On Wednesday 27 July 2005 17.13, Trevor Baca wrote:
> Looking at the final barline in this 2.7.0 snippet ...

See the section on bar lines in the manual. You need to use
\set Staff.whichBar = "|."

BTW, you might want to use ChoirStaff iso. StaffGroup, this way there will
never be a barline drawn between the staffs.

Erik



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

Re: Barline bug with Staff Timing_engraver?

Trevor Bača-2
On 7/28/05, Erik Sandberg <[hidden email]> wrote:
 
> See the section on bar lines in the manual. You need to use
> \set Staff.whichBar = "|."

Yes, you're right. Thank you.
 
> BTW, you might want to use ChoirStaff iso. StaffGroup, this way there will
> never be a barline drawn between the staffs.

Good point. I was actually just permuting examples to study the
differences between BarLine and SpanBar engraving; the successive
interpreter passes (at least I think that's what's going on) are cool.

What I'm really interested in doing is creating a perfectly linear,
grid-like context for laying out lots of conflicting tuplets; the
#'no-spacing-rods attribute in the item-interface is really
interesting because of the possibility to tell the bars "don't take up
any space in the spacing algorithm".

But much more tweaking before I can make it work and share ...

Trevor.


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

Re: Barline bug with Staff Timing_engraver?

Han-Wen Nienhuys
Trevor Baca wrote:
> What I'm really interested in doing is creating a perfectly linear,
> grid-like context for laying out lots of conflicting tuplets; the
> #'no-spacing-rods attribute in the item-interface is really
> interesting because of the possibility to tell the bars "don't take up
> any space in the spacing algorithm".
>

It doesn't work like that. "rods" make sure that objects don't bounce
into each other. However, the real spacing is done with "springs", whose
length is independent of no-spacing-rods.

If you're interested, I can look whether I can tune the spacing engine
for this type of applications as a sponsored feature.


--
  Han-Wen Nienhuys - [hidden email] - http://www.xs4all.nl/~hanwen


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