|
From: | Simon Albrecht |
Subject: | Re: Redefining parentheses |
Date: | Wed, 07 May 2014 00:51:44 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
Hello Evgeny, sorry I forgot to cc the list in my first reply, actually it’s always useful to do so. Well, I experimented some more, and I can explain why it’s so complicated: the overrides need to come before the first note and the slur needs to be started after the first note since this is a post-event (meaning that it comes after the note to which it belongs). But finding a solution is somewhat over my head. I made another try at creating a music function: sn = #(define-music-function (parser location mus muss) (ly:music? ly:music?) #{ \newSpacingSection \override Score.SpacingSpanner.spacing-increment = #0 $mus #(make-span-event 'SlurEvent START) $muss #(make-span-event 'SlurEvent STOP) \newSpacingSection \revert Score.SpacingSpanner.spacing-increment \once \override Score.BarLine.transparent = ##t \bar "" \noBreak \bar "" \noBreak #} )
\relative { c' d e f \sn c { d e f } }
Am 05.05.2014 22:57, schrieb
shtangencirkul:
|
[Prev in Thread] | Current Thread | [Next in Thread] |