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: Wed, 5 Apr 2006 13:19:54 +0200
User-agent: KMail/1.8.3

On Tuesday 04 April 2006 20.42, Han-Wen Nienhuys wrote:
> I'd start with 4. because they're independent from the rest, and we can
> readily test the rest of those.

I'm now reworking repeats. While I'm at it, I attempt to generally clean up 
the repeat code.

Plan:
- Move some repeat C++ code from parser.yy to Scheme (according to TODO 
comment)
- Attempt to remove various repeat iterators: Let \repeat be more like a music 
function, which constructs a SequentialMusic containing the repeated musics. 
Create new events that signal tuplet brackets, percents, etc.

Known issues:
- I assume that \alternative is invalid for percent and tremolo repeats.
- unfold-repeats will break, unless I do something about it. I think I'll 
create a hack for now (store a copy of the repeated music, which is ignored 
by iterators, but which unfold-repeats can use to reconstruct an unfolded 
repeat). I think the proper way would be to implement unfold-repeats as a 
music macro, but that requires that we have music macros (which we haven't), 
and it would also require \repeat to be a true music function.

-- 
Erik




reply via email to

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