Mark,

Thanks. I'm used to object-oriented programming, in which I'd have expected a 
Dynamic staff to be a descendent of Staff. I was wrong!

Best regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com

-------------------------
Tuesday, February 7, 2017, 12:01:40 PM, you wrote:

> At 11:52 on 07 Feb 2017, Peter Toye wrote:
>>Wanting to use bracket style pedals. The snippet below gives me 19-th
>>century style "Ped" mark. What am I doing wrong please?

> A Dynamics context is not a Staff context. See below...

>>\version "2.19.52"

>>\language "english"

>>\score {
>>  <<
>>    \new Staff {
>>      \clef "treble"
>>      \relative {
>>        c''4 d e f | g f e d | c d e f
>>      }
>>    }

>>    \new Dynamics {
>       % \set Staff.pedalSustainStyle = #'bracket
>       % use Dynamics
>       \set Dynamics.pedalSustainStyle = #'bracket
>       % or specify no context
>       \set pedalSustainStyle = #'bracket
>>      s1\sustainOn
>>      s1\sustainOff\sustainOn
>>      s1\sustainOff
>>    }

>>  >>
>>}

> --
> Mark Knoop
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to