As I mentioned, I have been working on simplifying the new code. I found
a few nice ways to simplify it. Also I moved the new code into its own
directory except some small classes that seemed to invite general use.
It's also more bulletproof, I hope.
* Handles slivers, ie notes that go just barely across a barline or
other metric line.
* Handles truncated bars, ie where some time-signature has started a
new bar prematurely.
* Almost handles swing, except I'm not sure where to get swing from.
When I give it phony swing parameters, it seems to work OK.
I thought I could just read swing from BasicQuantizer, but that doesn't
seem to stick. Ie, if I use the grid quantizer, set up some swing, then
read from the segment's quantizer, swing is still zero.
Beyond that, I'm not sure per-segment is the right place to store swing
anyways. ISTM swing is more of a vertical thing across segments. Like,
you're more likely to have different swing at different times in the same
segment than to have different swing at the same time in different
segments. I suspect TimeSignature is the right object to hold it.
Tom Breton (Tehom)
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel