On 05/03/2014 04:37 PM, Tom Breton (Tehom) wrote: > If you have adjacent notes of the same pitch and you select all of them > and change their lengths, you don't get a sensible result.
I'm of two minds on this one. a) Do whatever I said, even though it's stupid. Don't truncate anything to avoid overlaps, don't adjust start times, just screw it all up and turn it into an overlapping polyphonic mess that won't render or print correctly. (Sometimes users just don't care what it looks like, and only care what it sounds like. If they did it by accident, well, that's what undo is for.) b) Since a user who just doesn't care is probably using the matrix for this anyway, you could just simply say "I'm sorry Dave, I'm afraid I can't do that" and then open the airlock to draw the user out into the cold vacuum of space. Or refuse to perform the action if that seems less rude than murder. There are Geneva conventions or something to consider here. Flip a coin. What I wouldn't do is think too hard what to do when the user tries to do something stupid. It's probably just a mistake. Running a change length command on a bunch of notes is a common and useful enough thing. I've got a ton of double dotted 8th notes that wanted to be quarter notes, say, and expanding them swallows up a bunch of useless little rests. Cool. But if I grabbed some stuff that's not going to fit in the end, it was probably just a mistake anyway. I can't think of any use cases where it's important to try to resolve a head-scratching set of input in the least wrong way. They probably just goofed. > Another bug that may just be worth living with: If you make a really > extreme tupling (say, 78), and slice it up furher with counterpoint (say, > 16ths), it can make odd-looking note durations (like, half notes where one > would expect 32nds). I know why this happens - I use a certain minimum > notional note length and it's not short enough - but it's kinda at the > bottom of my todo list. We have had bugs that I actually care about somewhat passionately for many, many years. The chances of this bug ever impacting my own life in the slightest way are, to quote Tommy-Lee Jones, precisely dick. I know users won't be able to sequence that toaster and jackhammer symphony from that cool indie film this way, and I do care about that very much, but I am prepared to make a great sacrifice on this just once. -- D. Michael McIntyre ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Rosegarden-devel mailing list Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel