[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tuplet-nest
From: |
ml13 |
Subject: |
tuplet-nest |
Date: |
Mon, 15 Nov 2004 18:53:52 +0100 |
Hello,
I am trying to find a way to change the position of superior tuplet
brackets via:
\override TupletBracket #'extra-offset = #'(0 . 1.5)
This works quite well, as you can see in the first bar. However, I have
a problem, when the first element of a tuplet is again a tuplet, as in
bar 2.
What I am doing there is this:
\override TupletBracket #'extra-offset = #'(0 . 3)
\times 4/5 {
c'8
\override TupletBracket #'extra-offset = #'(0 . 1.5)
\times 2/3 {
% !!! this is line is problematic !!!
\override TupletBracket #'extra-offset = #'(0 . 0)
\times 2/3 {
c'16
c'16
c'16}
\override TupletBracket #'extra-offset = #'(0 . 0)
\times 4/5 {
c'32
c'32
c'32
c'32
c'32}
c'8}
c'8 c'8}
I have marked the problematic line. It seems to alter the property of
the 3:2 tuplet before, even though it appears inside the \times {
block.
Is this possibly a bug??
In the first bar
% bar 1
\time 2/4
\override TupletBracket #'bracket-visibility = ##t
\override TupletBracket #'extra-offset = #'(0 . 3)
\times 4/5 {
c'8
\override TupletBracket #'extra-offset = #'(0 . 1.5)
\times 2/3 {
% !!! here this is only a note !!!
c'8
\override TupletBracket #'extra-offset = #'(0 . 0)
\times 4/5 {
c'32
c'32
c'32
c'32
c'32}
c'8}
c'8 c'8}
this does not seem to be a problem, since there is a note before the
next \override statement.
Thanks for any comments, if this is a bug, so that the second bar
should work fine in the future.
Please tell me as well, if I should have described the problem in a
different manner or if I was not very clear.
Thanks,
Peter.
PS:
My complete file:
\version "2.4.2"
\score {
<<
\new Staff {
\set tupletNumberFormatFunction = #fraction-tuplet-formatter
% bar 1
\time 2/4
\override TupletBracket #'bracket-visibility = ##t
\override TupletBracket #'extra-offset = #'(0 . 3)
\times 4/5 {
c'8
\override TupletBracket #'extra-offset = #'(0 . 1.5)
\times 2/3 {
c'8
\override TupletBracket #'extra-offset = #'(0 . 0)
\times 4/5 {
c'32
c'32
c'32
c'32
c'32}
c'8}
c'8 c'8}
% bar 2
\override TupletBracket #'extra-offset = #'(0 . 3)
\times 4/5 {
c'8
\override TupletBracket #'extra-offset = #'(0 . 1.5)
\times 2/3 {
\override TupletBracket #'extra-offset = #'(0 . 0)
\times 2/3 {
c'16
c'16
c'16}
\override TupletBracket #'extra-offset = #'(0 . 0)
\times 4/5 {
c'32
c'32
c'32
c'32
c'32}
c'8}
c'8 c'8}
}
>>
}