lilypond-user
[Top][All Lists]
Advanced

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

Re: Dynamic mark at the end of a bar


From: Stephen MacNeil
Subject: Re: Dynamic mark at the end of a bar
Date: Wed, 27 May 2015 17:35:05 -0400

Hi david
I think the hairpin alignment is with the DynamicText which aligns under the note. So by moving the text the hairpin follows.


\once \override DynamicText.X-offset = #'x


So you could do


{

c''4\< \once \override DynamicText.X-offset = #'1.1 c''2.\ff |

R1 |

}


However in the first \! although ends the Hairpin can not be moved (that I know of).


Two solutions i see. 

1. create a hairpin



Long =

#(define-music-function

(parser location str)

(number?)

#{

-\markup

{

\halign #-1

\rotate #180

\combine

\draw-line #`(,str . 0.7)

\draw-line #`(,str . -0.7)


}

#}

)

{

c''4_\Long #-7.5

c''2. |

R1 |

c''4\< \once \override DynamicText.X-offset = #'1.1 c''2.\ff |

R1 |

}


2. create an invisible dynamic


inv = #(make-dynamic-script "")


{

c''4\<

\once \override DynamicText.X-offset = #'5.1

c''2.\inv |

R1 |

c''4\<

\once \override DynamicText.X-offset = #'1.1

c''2.\ff |

R1 |

}


HTH

Stephen


reply via email to

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