lilypond-user
[Top][All Lists]
Advanced

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

Re: Bar counts and repeats in repetitive music


From: David Nalesnik
Subject: Re: Bar counts and repeats in repetitive music
Date: Tue, 28 Feb 2017 12:32:53 -0600

On Tue, Feb 28, 2017 at 12:02 PM, Simon Albrecht <address@hidden> wrote:
> Am 28.02.2017 um 12:56 schrieb Peter Toye:
>
> I'm trying to get my head around the code you sent me - it seems that real
> programmers (you and David both) don't write comments :)
>
>
> I figure that’s more a question of whether they have time and motivation to
> do so.
> Best practice would probably be writing enough comments that someone who is
> reasonably familiar with the language and context should understand it at
> first reading.
>

Well, time is an issue.  Also an issue is the feeling that a good
solution requires functionality which isn't (so far as I know) part of
LilyPond.  (It would be nice to be able to get info about the unfolded
music when it's folded -- i.e., the bar numbers Peter is after.)   And
that I shouldn't be coopting the MeasureCounter grob.

Also relevant is the fact that this code requires a lot of familiarity
with LilyPond internals.  Certainly a comment here and there is
useful, and I'm remiss, but you would still have to know how to write
a Scheme engraver.

Best,
David



reply via email to

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