Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > Michael Welsh Duggan wrote: >> My only problem with this is the following: It doesn't appear to >> allow a crescendo to happen throught a single note without some extra >> hackery added. It would be better (IMHO) if we could emit >> Audio_dynamic events (or Audio_tempo events) at discrete quantum >> intervals. It doesn't seem possible, however, to emit Audio_items at >> any moments other than those defined in the Music proper. >> Suggestions? Maybe Audio_staff::audio_items_ can be a priority queue >> (by moment), allowing us to emit events out of order? > > Check out Global_context::sneaky_add_extra_time_moment() > It's the same mechanism that is used to maek sure that barlines always > appear.
Perfect. I can definitely use this. I'll see if I can't make the output for dynamic spanners happen on discrete quanta, and make a first stab at tempo spanners. -- Michael Welsh Duggan ([EMAIL PROTECTED]) _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel