You may remember that I got the tuplet rewrite code to handle swing,
thinking it would have to handle the swing that quantizers deal with.
Then I found that there was no way to get that swing info - it disappears
after the quantizer runs - so I added an interface to set swing to try to
make it useful. This only affected the tuplet-rewrite branch.
Some observations:
* Having used it a little, it is useful. It's good to be able to
create and edit notes that are swung. I like the way it can sound.
* Anchoring it on TimeSignature feels right and works nicely (IMO).
* I think I went down the wrong path implementing it.
As I used it more, I wanted to do things like move notes within swing
units and copy phrases from a swung section to an unswung one. That
proved tricky. It became clear that the underlying problem was that when
we swing, the ratio of timeT units to notation units isn't constant.
Weighing the options, it seems to me that the right way to make it sound
swung is by making lots of tempo events. That's what I should have done
in the first place.
What I propose would add short ramped tempos, 2 per swing unit (usually
one beat). They can be calculated so that the overall tempo is unchanged.
Then we could have constant timeT to notation and have swing too.
This would be less precise than the arctangent-based calculations I was
using to handle swing before. I think that will be tolerable; I hope so
anyways.
The math to fit 2 ramped tempos to a swing is fairly straightforward, and
it seems possible to accomodate pre-existing tempos - like, you could
swing and ritard at the same time - and it seems like it could handle when
you change how much swing there is or remove swing. I've done the math,
now I'm just starting to code it.
I'm not proposing to make the quantizers understand or work with this,
because I don't fully grok the notation quantizer's inner workings.
Tom Breton (Tehom)
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel