lilypond-devel
[Top][All Lists]
Advanced

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

Re: implementation plan for music streams


From: Erik Sandberg
Subject: Re: implementation plan for music streams
Date: Fri, 12 May 2006 22:58:52 +0200

On 5/12/06, Han-Wen Nienhuys <address@hidden> wrote:
Erik Sandberg schreef:
> Hm, I guess the easiest/cleanest way would be to let the
> percent-repeat-iterator create an implicit SequentialMusic around the music,
> with the additional percent elements, and then to let process_music pretend
> that this SequentialMusic expression is its 'element. That way, all
> timekeeping can be outsourced to the Sequential_music_iterator, and the
> percent-repeat-iterator can more-or-less be reduced to an override of
> construct_children.

I think you can just use Sequential_iterator for that, which you give a
SCM list of elements. It will also do the Right Thing if there is a
grace note involved.

I don't understand. How can I do that without creating a dummy
Sequential_music  object?

Erik




reply via email to

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