[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: old-style pedals working, but brackets not? [MINIMAL EXAMPLE]
From: |
Kieren MacMillan |
Subject: |
Re: old-style pedals working, but brackets not? [MINIMAL EXAMPLE] |
Date: |
Tue, 13 Jun 2006 10:00:27 -0400 |
Hi, all --
I was able to reproduce the behaviour I'm seeing in the attached
minimal example -- any help on the solution would be appreciated.
Thanks,
Kieren.
___________________________________
%%% CODE SNIPPET BEGINS
\version "2.8.4"
\layout
{
\context
{
\name Dynamics
\alias Voice
\type "Engraver_group"
\consists "Output_property_engraver"
\consists "Piano_pedal_engraver"
\consists "Script_engraver"
\consists "Dynamic_engraver"
\consists "Text_engraver"
\consists "Skip_event_swallow_translator"
\consists "Axis_group_engraver"
\override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
\override TextScript #'font-size = #2
\override TextScript #'font-shape = #'italic
\override DynamicText #'extra-offset = #'(0 . 2.5)
\override Hairpin #'extra-offset = #'(0 . 2.5)
pedalSustainStrings = #'("Ped." "*Ped." "*")
pedalUnaCordaStrings = #'("una corda" "" "tre corde")
}
\context
{
\PianoStaff
\accepts Dynamics
\override VerticalAlignment #'forced-distance = #5
}
}
global =
{
\key c \major
\time 4/4 s4*4*3
}
pfNotesUpper = \relative c''
{
\clef treble
c4 c c c c c c c c c c c
c4 c c c c c c c c c c c
}
pfDynamics =
{
}
pfNotesLower = \relative c'
{
\clef bass
c4 c c c c c c c c c c c
c4 c c c c c c c c c c c
}
pfPedal =
{
s4\sustainDown s4\sustainUp\sustainDown s4\sustainUp\sustainDown s4
\sustainUp
s4\sustainDown s4\sustainUp\sustainDown s4\sustainUp\sustainDown s4
\sustainUp
s4\sustainDown s4\sustainUp\sustainDown s4\sustainUp\sustainDown s4
\sustainUp \break
\set pedalSustainStyle = #'bracket
s4\sustainDown s4\sustainUp\sustainDown s4\sustainUp\sustainDown s4
\sustainUp
s4\sustainDown s4\sustainUp\sustainDown s4\sustainUp\sustainDown s4
\sustainUp
s4\sustainDown s4\sustainUp\sustainDown s4\sustainUp\sustainDown s4
\sustainUp \break
}
\score
{
\new PianoStaff = "piano"
<<
\new Staff = "pfUpper" << \global \pfNotesUpper >>
\new Dynamics = "pfDynamics" \pfDynamics
\new Staff = "pfLower" << \global \pfNotesLower >>
\new Dynamics = "pfPedal" \pfPedal
>>
}
%%% CODE SNIPPET ENDS