[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \displayLilyMusic and default durations
From: |
tisimst |
Subject: |
Re: \displayLilyMusic and default durations |
Date: |
Wed, 18 Feb 2015 11:44:29 -0700 (MST) |
I completely agree. Better to be accurate than visually appealing in this
regard.
- Abraham
Sent from my iPhone
> On Feb 18, 2015, at 11:00 AM, David Kastrup [via Lilypond] <address@hidden>
> wrote:
>
>
> Hi, currently
> \displayLilyMusic { c4 c c c } produces output { c4 c c c }. I lean
> towards letting it produce output { c4 c4 c4 c4 }. Reason: that's
> what's actually in the data structures of the music. The machinery that
> tries to decide when it can leave off the default duration is
> potentially error-prone and carries state across the expression.
>
> More seriously, currently \displayLilyMusic deals badly with
> { c4 c4 8 8 4 } which gets rendered as { c4 c 8 8 4 } and does
> consequently not recreate its input. It would be rather tricky to fix
> that since by the time the 8 is printed, c and the following space have
> already been produced. Instead of making things even more complex here,
> I consider it saner to become less clever and just print what's in the
> data, never mind whether it's possibly redundant.
>
> Opinions?
>
> --
> David Kastrup
>
> _______________________________________________
> lilypond-devel mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/lilypond-devel
>
>
> If you reply to this email, your message will be added to the discussion
> below:
> http://lilypond.1069038.n5.nabble.com/displayLilyMusic-and-default-durations-tp172042.html
> To start a new topic under Dev, email address@hidden
> To unsubscribe from Lilypond, click here.
> NAML
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/displayLilyMusic-and-default-durations-tp172042p172048.html
Sent from the Dev mailing list archive at Nabble.com.