Kieren MacMillan <[email protected]> writes:

> Hi David,
>
>> With my suggestion of an additional music expression, this
>> would end up as
>> 
>> \ottava #1 c'' d'' e'' f'' \locoIII { r4 r r r } g’'
>
> Hmmm… Maybe even more efficient [from a typing perspective] would be
>
>     \ottava #1 { c'' d'' e'' f’’ r4 r r r g’’ }
>
> where the function is designed to (1) start the given octavation on
> the first moment of the music expression, (2) end the octavation at
> the second-last moment [or optionally the last non-rest moment prior
> to the last moment], and (3) put “loco” over the last moment.
>
> I’ll try this as an exercise to improve my Scheme-fu.

Main problem is matching to differently nested constructs, like an
ottava into a repeat or triplet.  As a general interface to the desired
functionality this is not really good for that reason.  My proposal is
less likely to be affected since it wraps less, but for

\ottava #1 \triplet { c8 d \loco r8 } r4 c2

it could not be coaxed into working as desired either.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to