lilypond-user
[Top][All Lists]
Advanced

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

Re: Is it possible to insert a "break" in a ottava bracket?


From: David Kastrup
Subject: Re: Is it possible to insert a "break" in a ottava bracket?
Date: Fri, 08 Sep 2017 22:58:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

> 2017-09-08 12:15 GMT+02:00 Thomas Morley <address@hidden>:
>> 2017-09-07 20:59 GMT+02:00 Robert Schmaus <address@hidden>:
>>
>>> So anyway, except for writing a music function that basically does
>>> the ottava voiding + spacer grace + ottava reset in one go, I don't
>>> have any other solution as well.
>>
>> Quick'n dirty:
>>
>> {
>>   \ottava 1
>>   c'''4 4 4
>>   \afterGrace 4 \ottava 0
>>   \ottava 1
>>   d'''4 4 4 4
>>   \ottava 0
>> }
>>
>> Cheers,
>>   Harm
>
> Also, David K's at-function will work (not sure if below is the most recent 
> one:
>
> at =
> #(define-music-function (time event music)
>   (ly:duration? ly:music? ly:music?)
> "Place @var{event} at a relative duration @var{time} in relation
> to @var{music}."
>   #{ \context Bottom << { \skip $time <>$event } $music >> #})
>
>
> {
>   \ottava 1
>   c'''4 4 4
>   \at 8. \ottava 0 c'''4
>   \ottava 1
>   d'''4 4 4 4
>   \ottava 0
> }

Someone remind me: was there a reason we did not make this part of
LilyPond proper?  I think there was but I cannot remember it.  It's
coming up time and again...

-- 
David Kastrup



reply via email to

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