On 09/25/2013 06:00 PM, Tom Breton (Tehom) wrote:
I get that beaming and tupleting often go together, but it brings in so many edge and corner cases. I was just looking at BeamCommand and BreakCommand, which bring in yet more issues.
I dreamed up an evil edge case I've never encountered in the real world, and rendered it in LilyPond. [See evil-rhythm.png] It should have worked, and it did, because the bar counts perfectly well, even though that would be really awkward to count in practice.
In principle, entering this figure into Rosegarden ought to work like: 1. Go to triplet insert mode 2. Click 8th note duration 3. Click 8th note into existence 4. Leave triplet insert mode 5. Click quarter note duration 6. Click quarter note into existence 7. Repeat 1-6 until finished What actually happens is: 3. Click 8th note into existenceYou get the 8th note, a triplet spanner, and two 8th triplet rests. (MuseScore does the same thing).
6. Click quarter note into existence You get a triplet quarter note of duration 640.I think this example says a lot about how Rosegarden is thinking, and why this is all such a mess. My made up example is not an important benchmark in of itself, but striving to be able to enter a figure like this seems like a good use case.
Tupletness and beamedness would have to exist independently of each other, which would simplify some of our work and make other work harder.
What do you think? Does that seem like a reasonable separation of concerns?
Yes no maybe. I think you've about got it right, but I've got some ideas trying to coalesce that just won't form right at the moment. I want to give my head time to simmer.
I'll come back to this. -- D. Michael McIntyre
<<attachment: evil-rhythm.png>>
------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________ Rosegarden-devel mailing list Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel