lilypond-user
[Top][All Lists]
Advanced

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

Re: Delayed Turn


From: Leo Correia de Verdier
Subject: Re: Delayed Turn
Date: Fri, 19 Nov 2021 00:24:35 +0100

It is not needed there. It’s only needed when the delayed turn occurs inside a 
beamed group. There might be a point in including such an example in the 
documentation too, though…

> 19 nov. 2021 kl. 00:12 skrev Mark Stephen Mrotek <carsonmark@ca.rr.com>:
> 
> Lukas-Fabian,
> 
> Thank you.
> This code works perfectly.
> Why is "\new Voice" not included in the code in the documentation?
> 
> Mark
> 
> -----Original Message-----
> From: Lukas-Fabian Moser [mailto:lukasfabianmoser@googlemail.com] On Behalf 
> Of Lukas-Fabian Moser
> Sent: Thursday, November 18, 2021 12:29 PM
> To: Mark Stephen Mrotek <carsonmark@ca.rr.com>; 'Leo Correia de Verdier' 
> <leo.correia.de.verdier@gmail.com>
> Cc: 'lilypond-user' <lilypond-user@gnu.org>
> Subject: Re: Delayed Turn
> 
> Hi Mark,
> 
> Am 18.11.21 um 20:33 schrieb Mark Stephen Mrotek:
>> The beam appears since you have both the hidden note and the others in 
>> the same voice. Adding the double backslashes is a shorthand for 
>> creating a new voice, but then I needed to override some directions, 
>> since this also sets the first voice upwards and the second downwards.
> 
> To be more precise: The double backslashes are shorthand not only for 
> creating a new voice, but for setting default directions etc. at the same 
> time (namely \voiceOne and \voiceTwo style settings). If we only want a new 
> voice without layout implications, we can just use \new Voice:
> 
> \version "2.22"
> 
> \relative c' {
>   \time 2/4
>   \key aes \major
> 
>   ees'4
>   <<
>     { f,8. [(aes32 c)] }
>     \new Voice {
>       s8
>       \once \set suggestAccidentals = ##t
>       \once \override AccidentalSuggestion.avoid-slur = #'inside
>       \once \override AccidentalSuggestion.font-size = -3
>       \once \override AccidentalSuggestion.script-priority = -1
>       \hideNotes
>       b16\turn
>       s
>     }
>>> 
> }
> 
> But note that creating delayed turns has gotten significantly easier in the 
> current development version 2.23.4 where we made David Kastrup's \after 
> function available as a stock feature. See 
> https://lilypond.org/doc/v2.23/Documentation/notation/expressive-marks-attached-to-notes.html
> 
> Using this, you can do:
> 
> \version "2.23.4"
> 
> \relative c' {
>   \time 2/4
>   \key aes \major
> 
>   ees'4
>   \after 8 \new Voice {
>     \once \set suggestAccidentals = ##t
>     \once \override AccidentalSuggestion.avoid-slur = #'inside
>     \once \override AccidentalSuggestion.font-size = -3
>     \once \override AccidentalSuggestion.script-priority = -1
>     \hideNotes
>     b16\turn
>   }
>   f8. [(aes32 c)]
> }
> 
> While this does not look _that_ much easier, the difference becomes really 
> notable for "standard" delayed turns without accidental suggestions:
> 
> \version "2.23.4"
> 
> \relative {
>   \after 8 \turn c''8.( d32 e)
> }
> 
> Lukas
> 




reply via email to

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