[Top][All Lists]

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

Re: [PATCH] Add showFirstLength property

From: Han-Wen Nienhuys
Subject: Re: [PATCH] Add showFirstLength property
Date: Fri, 10 Oct 2008 00:11:44 -0300

Global_context::run_iterator_on_me (Music_iterator *iter)
  prev_mom_.set_infinite (-1);
  now_mom_.set_infinite (-1);
  Moment final_mom = iter->get_music ()->get_length ();

I would do this Q&D by overwriting the 'length property of the top
music expression, which will be still a lot faster.

On Thu, Oct 9, 2008 at 6:45 PM, Valentin Villenave
<address@hidden> wrote:
> 2008/10/8 Valentin Villenave <address@hidden>:
>> Here's a patch to music-functions.scm in order to add the
>> showFirstLength property that many LilyPonders (well, myself at least
>> :-) need. It also updates the documentation, and the relevant regtest.
> Here's a better version of the same patch, as it allows both
> showLastLength and showFirstLength to be set at the same time (in case
> you'd want to check both the beginning and the end of your score :-)
> Cheers,
> Valentin
> _______________________________________________
> lilypond-devel mailing list
> address@hidden

Han-Wen Nienhuys - address@hidden -

reply via email to

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