Re: Sustain pedal cautionary after line break

2016-02-02 Thread Thomas Morley
2016-02-02 16:00 GMT+01:00 Pierre Perol-Schneider : > Hi Kieren, hi Caio et All, > > Here's a trial to find a workaround avoiding the use of a TextSpanner: > > \version "2.18.2" > > \relative c'' { > \set Staff.pedalSustainStyle = #'mixed > \once\override

Re: Sustain pedal cautionary after line break

2016-02-02 Thread Trevor Daniels
Thomas Morley wrote Tuesday, February 02, 2016 11:17 PM > To make it work with recent devel versions you need to add > \once\override Staff.SustainPedalLineSpanner.layer = #2 %% every value >>1 will do > > No idea why. > 'layer is unset for SustainPedalLineSpanner in 2.18.2 _and_ 2.19.35 When

Re: Sustain pedal cautionary after line break

2016-02-02 Thread Pierre Perol-Schneider
Hi Kieren, hi Caio et All, Here's a trial to find a workaround avoiding the use of a TextSpanner: \version "2.18.2" \relative c'' { \set Staff.pedalSustainStyle = #'mixed \once\override Staff.SustainPedalLineSpanner.stencil = #ly:line-spanner::print \once\override

Re: Sustain pedal cautionary after line break

2016-02-02 Thread Pierre Perol-Schneider
Hi Harm, 2016-02-03 0:17 GMT+01:00 Thomas Morley : > It's 'articulations not 'articulation. > > >(set! (ly:music-property first-element 'articulation) > > (cons (make-music 'SustainEvent 'span-direction -1) > >

Re: Sustain pedal cautionary after line break

2016-02-02 Thread Pierre Perol-Schneider
Hi Trevor, Thank you for the explanation. Cheers, Pierre 2016-02-03 0:37 GMT+01:00 Trevor Daniels : > > Thomas Morley wrote Tuesday, February 02, 2016 11:17 PM > > > To make it work with recent devel versions you need to add > > \once\override

Re: Sustain pedal cautionary after line break

2016-02-02 Thread Pierre Perol-Schneider
Added to the LSR: http://lsr.di.unimi.it/LSR/Item?id=1024 Pierre ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Sustain pedal cautionary after line break

2016-01-30 Thread Kieren MacMillan
Hi all, Just a thought experiment… On Jan 29, 2016, at 3:53 AM, Pierre Perol-Schneider wrote: > Done. > To All: please feel free to propose a better snippet description if needed. > Cheers, > Pierre > > 2016-01-28 15:33 GMT+01:00 Pierre Perol-Schneider >

Re: Sustain pedal cautionary after line break

2016-01-30 Thread Kieren MacMillan
Hi all, Sorry for the noise — hit send too early. =\ Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Sustain pedal cautionary after line break

2016-01-29 Thread Pierre Perol-Schneider
Done. To All: please feel free to propose a better snippet description if needed. Cheers, Pierre 2016-01-28 15:33 GMT+01:00 Pierre Perol-Schneider < pierre.schneider.pa...@gmail.com>: > Yes you're right Kieren. I'll modify the description tonight, too busy for > the moment. > Cheers, > Pierre >

Re: Sustain pedal cautionary after line break

2016-01-28 Thread Pierre Perol-Schneider
Yes you're right Kieren. I'll modify the description tonight, too busy for the moment. Cheers, Pierre 2016-01-28 15:18 GMT+01:00 Kieren MacMillan : > Hi Pierre, > > > Added to the LSR: http://lsr.di.unimi.it/LSR/Item?id=1023 > > Thanks for doing this! > > Maybe

Re: Sustain pedal cautionary after line break

2016-01-28 Thread Kieren MacMillan
Hi Pierre, > Added to the LSR: http://lsr.di.unimi.it/LSR/Item?id=1023 Thanks for doing this! Maybe this is overkill for the LSR… but in such cases, where it’s not clear to newbies that this is not actually a change to a SustainPedal/PianoPedalBracket — but rather a workaround using an

Re: Sustain pedal cautionary after line break

2016-01-28 Thread Pierre Perol-Schneider
Added to the LSR: http://lsr.di.unimi.it/LSR/Item?id=1023 Cheers, Pierre ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Sustain pedal cautionary after line break

2016-01-27 Thread Caio Giovaneti de Barros
I would like to add a cautionary indication that the sustain pedal should remain pressed after a line break, so in the code below ideally there would be a (Ped.) in the second line. Any suggestions? \version "2.19.35" \relative c'' { \set Staff.pedalSustainStyle = #'mixed c1\sustainOn

Re: Sustain pedal cautionary after line break

2016-01-27 Thread Kieren MacMillan
Hi Caio, > I would like to add a cautionary indication that the sustain pedal should > remain pressed after a line break, so in the code below ideally there would > be a (Ped.) in the second line. Any suggestions? 1. Wait for the feature to be implemented — it’s being discussed/considered at

Re: Sustain pedal cautionary after line break

2016-01-27 Thread Pierre Perol-Schneider
Hi Caio, Here's a possible workaround: \version "2.19.35" \relative c'' { \set Staff.pedalSustainStyle = #'mixed c1\sustainOn \break c1 c1\sustainOff } sustOn = #(define-event-function (parser location)() #{ \tweak bound-details.left.text \markup\concat { \musicglyph

Re: Sustain pedal cautionary after line break

2016-01-27 Thread Pierre Perol-Schneider
Hi Kieren, I do not understand how you reduce the ped. spanner with a markup: \version "2.19.35" \relative c'' { \set Staff.pedalSustainStyle = #'mixed c1\sustainOn \break c1 _\markup\concat { \musicglyph #"pedal.Ped" ". " } c1\sustainOff } Could you tell me a little more? Cheers, Pierre

Re: Sustain pedal cautionary after line break

2016-01-27 Thread Caio Giovaneti de Barros
On 27-01-2016 19:30, Pierre Perol-Schneider wrote: Hi Caio, Here's a possible workaround: Awesome, Pierre! ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Sustain pedal cautionary after line break

2016-01-27 Thread Kieren MacMillan
Hi Pierre, > Could you tell me a little more? Here’s a tweaked-up example: \relative c'' { \set Staff.pedalSustainStyle = #'mixed c1\sustainOn \break c1 -\tweak extra-offset #'(-4 . -0.9) -\tweak whiteout-style #'outline -\tweak whiteout 3 -\tweak layer 2 _\markup \concat { ( \musicglyph

Re: Sustain pedal cautionary after line break

2016-01-27 Thread Pierre Perol-Schneider
Thank you Kieren. Cheers, Pierre 2016-01-27 23:00 GMT+01:00 Kieren MacMillan : > Hi Pierre, > > > Could you tell me a little more? > > Here’s a tweaked-up example: > > \relative c'' { > \set Staff.pedalSustainStyle = #'mixed > c1\sustainOn \break > c1 -\tweak

Re: Sustain pedal cautionary after line break

2016-01-27 Thread Pierre Perol-Schneider
Thank you Caio, I'm glad you like it. Here are some minor corrections: sustOn = #(define-event-function (parser location)() #{ \tweak bound-details.left.text \markup\concat { \musicglyph #"pedal.Ped" ". " } %\tweak bound-details.left-broken.text \markup\concat { \musicglyph