Bristol_Jonesey
I always, habitually do a ctrl + shift + a before I do ANYTHING involving copy, cut, paste, delete etc
Consequently, I've never lost a single thing whilst editing.
Yes. THIS^^^^
Ctrl + Alt + Shift should be absolutely ingrained into your workflow and muscle memory. Even when I am about to perform a function where it does not matter if multiple tracks/items/whatever are selected I still do it... EVERY... TIME. I even do it AFTER I've completed my move just so nothing is selected as I do other stuff JUST IN CASE.
It goes like this...
1) I'm about to do something that involves selecting 1 or more tracks/events.
2) I hit Ctrl + Shift + A to clear all selections in the project. Sometimes I'll even do it twice to make absolutely sure nothing is selected.
3) I will make my selections then DOUBLE CHECK the selections so ONLY the desired selections are made. note: sometimes I find when selecting a single item it will select other items. I think do to a double click being registered or something extending the selection.
4) Once I have confirmed ONLY the items I want selected are selected do I make my move. I double check to make sure what I wanted happened and nothing else was affected (by either playing back and/or giving the GUI a quick visual scan to see if anything is out of place)
5) I'll hit Ctrl + Shift + A again to clear the selection so as I move to other areas of the project and continue working those selected tracks/items don't get inadvertantly affected.
All of this happens VERY quickly because I just beat it into my brain looong ago to be ultra vigilant about my selection(s) status (I have created some VERY heinous problems for myself in the past due to unwanted selections). It's second nature now. Certainly not ALL of that is necessary every time BUT what it does is create a procedural "redundancy" whereby if I happen to forget to do one or multiple items in that procedure the chances of me having an unwanted selection are vastly reduced.
Essentially the little bit of extra time I spend constantly doing that (might add 1 second to each move I make at most) I potentially save myself minutes or even hours of time trying to figure how to fix a screwup.
It's the same reason my project folders are FILLED with dated and properly named "Save As" versions. I don't "Save As" after every move of course but after I've completed a series of moves and the task I set out to do is accomplished (eg: I record a bunch of guitar takes, "Save As 1". I edit/comp/flatten the takes, "Save As 2".
Also in BETWEEN those "Save As" actions I use the regular "Save" function in case of a Sonar crash. That way instead of losing everything backward to my last "Save As" I MIGHT be able to recover the project up until my last "Save" action.
Also remember that if you "seemingly" lose audio files from your project you may be able to retreive them from the project's "Audio" folder. If you have the "Per Project Audio Folder" option enabled then it'll be in the sub folder Sonar created for the project (simply called "Audio"). NOTE: The default setting is to use a "Global" audio folder which lumps ALL recorded audio from all projects into one folder. That SUCKS (and you'll see ONE of the reasons why momentarily) so any newdudes/dudettes reading this change that IMMEDIATELY. They may have even made PPF the default now but if not they really should. It's a confusing and semi obscure setting/concept for beginners and I do not see ANY positive benefit of having a "Global" audio folder. Maybe it made things easier to delete when hard drive space was limited and expensive.
Anyway... if you lost an audio file look in that folder. They are just raw waves (or whatever format you chose Sonar to record to). They (IIRC) are named after the track they were recorded into with take numbers. HOWEVER I find the easiest way to retrieve those files (because there can be ALOT of them) is to sort the folder by "Date Created". If I remember the general date when I recorded the missing part I just scroll down and peruse the file names for that date(s). You can even listen to the files to make sure they are the one you want. Then just import the wav back into your project (hopefully into its original track and at it's original position... which is a good reason to ALWAYS have "Snap" enabled to at least something like 1/4 beat before positioning the "Now Time" before recording ANYTHING. It makes it MUCH easier to sync up the waves to the original project in these cases... if you don't have snap on then you have to totally line it up by ear which is time consuming).
Here's the thing though... I'm not entirely sure what Sonar's protocall is for saving audio files. I think under ideal conditions it is this...
1) You record a bunch of stuff. Those recordings are stored on your hardrive but "temporarily"
2) If you hit Save or Save As then those files get put into and remain in the project (or global) audio folder even after you close the program.
3) If you close the project WITHOUT saving then the recordings do not get saved anywhere on the system. So the "temporary" files that were created get deleted automagically when you close Sonar.
Now let's say you DELETE a track or clip in the project AFTER reopening the project (AFTER doing a Save or Save As in your previous session). Since the audio files were created AND saved and already present in the audio folder I think the action of deleting that Track/Clip in the new session (and afterward saving) the audio file(s) will remain in the Audio folder. They are just no longer referenced by the project but still exist on your hard drive (in the audio folder). So (if that's true and I'm pretty sure it is) then you can restore those files manually as I described above.
Keep in mind though that if you then did a Save As of that project to a new location (like an external drive) with the "Copy Audio With Project" (or whatever it is called) then THAT version of the project (the one where you deleted the tracks and didn't restore the audio somehow) would NOT drag the deleted audio from the original project's audio folder with it because the new project does not "reference" those audio clips anymore.
Alright... so I totally veered off topic there (kind of) but the way Sonar (and most audio programs) handle audio files was a TOTAL mind twister for me as a n00b so maybe my blatherings about this stuff will help others muscle through a little better and be able to recover from these types of seemingly "worst case scenarios".
Also I haven't been up here for a while. Been working hard on some toonage stuff.
Hope everyone is good and well.
Cheers.