lilypond-user
[Top][All Lists]
Advanced

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

Re: improving Janek's \dynamic function (for combo dynamics)


From: Thomas Morley
Subject: Re: improving Janek's \dynamic function (for combo dynamics)
Date: Sat, 2 Sep 2017 22:51:39 +0200

2017-08-29 14:27 GMT+02:00 Thomas Morley <address@hidden>:
> 2017-08-27 22:34 GMT+02:00 David Kastrup <address@hidden>:
>
>> You are right that fold-matches is probably not worth the trouble in
>> brain contortion here: processing the result from list-matches should be
>> good enough without overflowing memory.
>
[...]
>
> Though, if I split the string anyway (splitting at #\space should do
> no harm, imho), it's probably cheaper to go for string-match instead
> of list-matches.

I've now taken this route.
Full working code/pdf attached, though, there's surely wide room to improve it.
Usage should be clear from comments and example, I'm too tired to do
verbose explanations.

Cheers,
  Harm

Attachment: on-the-fly-dynamics-02.ly
Description: Text Data

Attachment: on-the-fly-dynamics-02.pdf
Description: Adobe PDF document


reply via email to

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