lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pedal markings in dynamic context


From: Simon Bailey
Subject: Re: pedal markings in dynamic context
Date: Tue, 16 Jul 2013 15:09:59 +0200

hi eluze, phil,  

i realize the point of the dynamics context. and it does what i want it to do. 
the case i cited is a borderline case where it does exactly what it says on the 
box; however, the result is not satisfactory – one note forces the whole line a 
long way from the staff.

here's what happens if i change the example and put the pedals in a separate 
voice:

<<<<
\version "2.17.22"
music = \relative c {
  \clef bass
  c4 c c, c'
  c,, c c' c'
  c8 b a g f e d c
}
pedals = {
  \repeat unfold 5 {s2\sustainOn}
  s4\sustainOn s4\sustainOff
}
\score {
  \new Staff <<
    \new Voice \music
    \new Voice \pedals
  >>
}


>>>>

see attached pdf. bar 3 especially is not really very pretty…

(try changing the repeat in pedals to \repeat unfold 5 {s4\sustainOn 
s4\sustainOff} – in my opinion that's even worse – see attached 
weird-pedals.png)

eluze's solution _may_ work, but i reckon that it may also shift pedal markings 
which are related to notes in the staff into the staff…

if all fails, then i suppose i can look into shifting the dynamics line by 
hand… :)

regards,
sb
--  
Simon Bailey
Oompa Loompa of Science
+43/699/190 631 25


On Tuesday, 16 July 2013 at 13:52, Eluze wrote:

> Simon Bailey-5 wrote
> > hi,  
> >  
> > i have a question regarding the spacing of dynamic contexts. given the
> > following (contrived for simplicity) snippet:
> >  
> > this is a very simplified example, but it highlights the problem. is there
> > any way to make the pedal markings in bar 1-2 and on beat 3 of bar 3
> > closer to the staff? i have attached a screen shot of a real world example
> > -- bar 3 is particularly bad in this case, and i'd prefer to have the
> > pedal markings closer to the staff.
> >  
> > i know i could twiddle the Y-offset for the given bar, but i have a gut
> > feeling that it might be possible to move the whole dynamic line closer to
> > the staff and let the pedal markings on the lowest notes drop below the
> > "normal" line.
> >  
> > any ideas?
>  
> the intention of using a dynamics context is exactly to keep the marks on
> one horizontal line but.  
>  
> but you can try to bring the Dynamics nearer to the staff and \tweak or
> \override the problematic SustainPedal - I'm not sure this could cause
> problems in scores with more than one line, though.
>  
> \new Dynamics \with {\override
> VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding = #-5 }
>  
> Eluze
>  
>  
>  
> --
> View this message in context: 
> http://lilypond.1069038.n5.nabble.com/pedal-markings-in-dynamic-context-tp148075p148079.html
> Sent from the User mailing list archive at Nabble.com (http://Nabble.com).
>  
> _______________________________________________
> lilypond-user mailing list
> address@hidden (mailto:address@hidden)
> https://lists.gnu.org/mailman/listinfo/lilypond-user


Attachment: blah.pdf
Description: Adobe PDF document

Attachment: weird-pedals.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]