On Saturday 03 June 2006 14:39, Han-Wen Nienhuys wrote: > Erik Sandberg schreef: > >> I don't understand. You're using Sequential iterator, so why don't you > >> do > >> > >> { \tup-start > >> first-part-of-time-scaled-music > >> \tup-end > >> \tup-start > >> 2nd-part-of-time-scaled-music > >> \tup-end > >> } > >> > >> this will delegate grace notes to the sequential-iterator. > > > > How do I split up music in parts of equal length? Consider obscure cases > > such as > > \new Voice \times 2/3 { << {c8 c8 \skip 4 c8 } { \skip 4 c8 c8 } >> } > > Good point. In that case, you'll need to override > Time_scaled_iterator::process() to watch now_mom().main_part_ to insert > the events "just in time".
Thanks, sounds like the Right Way. > > BTW, I've been thinking about a generic solution to the grace note > > problems, which involves adding a moment with infinite negative grace > > part (i.e. "at time m, before all grace notes"). Would it be OK to use > > skip 1*inf, if that happens to work? > > I've heard you about this solution before, but I'd like to see a > proposal first, especially because you're already dealing with 3 > branches (parser rewrite, old stream bugfixing, new stream functionality). I scheduled that stuff in my brain to post-music-stream time; I'll make a plan when that time gets closer. -- Erik _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel