|
From: | Wol's lists |
Subject: | Re: Markings on a percent bar |
Date: | Thu, 23 Nov 2017 18:04:50 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
On 23/11/17 17:17, David Kastrup wrote:
Can anybody give me any hints?I really hate it when people don't even_try_ entering a single note themselves and leave all the work to every single reader.
Sorry. But it might be a problem someone's already solved, seeing as it's pretty common in my sort of music.
That being said, you could use something like visibleAfter = #(define-music-function (n mus) (index? ly:music?)
At which point we are into music functions, and scheme, and EVERY time I've tried to do this sort of stuff I just get absolutely nowhere.
I'm quite happy to have a crack at improving that for my generic case, but if I do it'll probably just be a case of me making a mess of it and mailing the list saying "help what am I doing wrong".
The problem, from my point of view, is that lilypond syntax is simple and makes sense to me. As soon as scheme gets involved, the learning curve is like hitting a cliff.
But thanks - if I read the code correctly, this will be useful for a lot of my scenarios.
Cheers, Wol
[Prev in Thread] | Current Thread | [Next in Thread] |