Anderton
sharke
You want to remove a portion of time from the start of a song. You want everything within those measures to be deleted, and everything which remains to shift along by that number of measures to the left. This should be doable with a simple, hassle free, bug free and foolproof one click method.
I've been thinking about this, and I can't see how you could do this with one click. AFAIK you would at least need to tell SONAR:
1. If needed, the tool you want - presumably the Smart or Select tool. (If you currently had the Erase or Mute tool selected, that probably wouldn't be appropriate.)
2. The region you want to delete (probably a click+drag).
3. That you want the Delete Time function (probably a click+drag from a menu, or a keyboard shortcut).
4. Another click on OK to confirm.
I don't know how you would simplify this to one click. Even with a word processor, if needed you have to choose the right tool to select words, select the words you want to delete, then either go to a menu or use a keyboard shortcut to perform the actual cut operation. You also need to use a different shortcut to delete and not put something in the clipboard, compared to cutting and putting something on the clipboard.
I'm probably exaggerating a little with the "one click" rhetoric. I see it more as a menu option in which a dialog comes up, much like insert measures or delete special.
Another way to think of it is like this. Imagine you use Insert Measures to insert 16 measures in the middle of your project. You end up with an empty gap, right? Well now hit CTRL-Z to undo. Hey presto, those 16 measures are now gone and your project looks just as it did before the insert. If undo can achieve this, then why not a Delete Measures function? It's just the reverse of insert measures.
Granted, it is a little more complicated since when you undo an Insert Measures action, there is no data in the new measures at the point of undo. But I remain certain that the Bakers can handle this intelligently. I still think it would solve a lot of complications to disable Delete Measures as long as there is any data in the region you want to delete. So as for things like audiosnap markers, pitch bend information, MIDI notes etc, well it would be up to the user to decide how to handle those things before carrying out the Delete Measures function. That leaves things like markers, time sig changes and tempo changes. So let's look at those in turn:
Markers: You may want to delete those and slide the rest over, you may not. Make it an option.
Time Sig changes: As above. However, if you
do wish to slide the remaining time sig changes and slide the rest over, it would be a simple case of taking the last sig change event in the region you're deleting, and adding it to the join after the delete has been carried out. After all, if it's the last time sig change in the deleted region then we can safely assume that, given your desire to preserve the time signatures of all proceeding measures, that the first measure after the region you delete
must have the time signature of the last time signature event of the deleted region.
I'll try and illustrate what I mean with a labeled example. Here I've marked off the section that I wish to delete with START and END markers at measures 3 and 8. Within those measures, I have inserted time sig changes of 6/8 and 3/4 (also marked). Note that the time signature at measure 8, the first measure after the region slated for deletion, is 3/4 despite there being no time signature event there to state it explicitly (of course).
Now here's what would happen after the measures are deleted. The last time signature change in the deleted section was 3/4, so that must be the time signature at the join. What was measure 8 is now measure 3, and Sonar has inserted a new time signature change of 3/4 there.
I guess if they could also check to see whether the last measure
before the join was also at 3/4, and if so, refrain from inserting a new time signature event since it would not be needed.
Tempo changes: As above. Either you wish to preserve them as they are in absolute time, or you wish to delete the ones within the deleted measures and slide the rest over.
So with a region completely clear of data, those would be the only options you would need, right? It's basically a "slide special" command.