[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pedal position
From: |
Mats Bengtsson |
Subject: |
Re: pedal position |
Date: |
Tue, 05 Feb 2008 14:36:49 +0100 |
User-agent: |
Thunderbird 2.0.0.5 (X11/20070716) |
Valentin Villenave wrote:
I don't understand why nothing happens when you set the property
on-the-fly such as
\relative c''' {
c2\pp\sustainDown
\override Staff.SustainPedalLineSpanner #'outside-staff-priority = #250
\override Voice.DynamicLineSpanner #'outside-staff-priority = #0
c2\pp\sustainDown
}
Is it because the LineSpanner is already being drawn?
If you compare the following two examples, you see that the dynamics and
pedal marks are vertically aligned in the second example but not in the
first,
where there's another note inbetween. This is exactly what the
xxxLineSpanner
objects do. So, in the first example, it "works" to change the settings
before
the second xxxLineSpanner starts, whereas in your example above, the
spanner has already been created when you do the setting, so it's not
affected.
\relative c' {
c2\pp\sustainDown c\sustainUp | c1 |
c,2\pp\sustainDown
}
\relative c' {
c2\pp\sustainDown c\sustainUp
c,2\pp\sustainDown
}
/Mats