How to clean up a project's audio folder (delete unused)?

Author
mikeinFL
Max Output Level: -80 dBFS
  • Total Posts : 536
  • Joined: 2005/02/19 01:08:21
  • Status: offline
2008/03/20 13:42:48 (permalink)

How to clean up a project's audio folder (delete unused)?

Using Sonar 7 Studio, each project has it's own audio folder, which I like. I've deleted audio on some tracks and recorded audio over the same tracks- I don't want those old audio tracks that I deleted in Sonar. However when I look in the audio folder of the project the old audio tracks are still there. How do I know which audio files in the audio folder are no longer used in my project that I can delete? thanks
#1

22 Replies Related Threads

    Laserich
    Max Output Level: -80 dBFS
    • Total Posts : 517
    • Joined: 2008/02/04 18:33:44
    • Location: Bourbonnais USA
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/20 14:30:04 (permalink)
    Right, and Sonar doesn't delete anything without instructions, like from the Audio Finder tool, or the Clean Audio folder tool, which you can use to do what you want.

    What I do is a quick and easy way to purge unwanted files, those that aren't referenced in the project. Just save the file to a brand new audio folder, delete the original folder and CWP, then resave back to its original folder with original file name.

    Of course, it only works if you've decided on a single CWP to use as your project keeper. That means any versioning files from AutoSave, or ones saved manually (MyProject1.cwp, MyProject2.cwp, etc.) have to be deemed unwanted and then deleted.

    Anyway, just some food for thought.

    http://www.someofmyownstuff..com

    . . . . . . . . . . . . ......
    #2
    lazarous
    Max Output Level: -61 dBFS
    • Total Posts : 1461
    • Joined: 2005/09/15 11:55:42
    • Location: Minneapolis, MN
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/20 15:08:53 (permalink)
    ORIGINAL: Laserich

    Right, and Sonar doesn't delete anything without instructions, like from the Audio Finder tool, or the Clean Audio folder tool, which you can use to do what you want.

    What I do is a quick and easy way to purge unwanted files, those that aren't referenced in the project. Just save the file to a brand new audio folder, delete the original folder and CWP, then resave back to its original folder with original file name.

    Of course, it only works if you've decided on a single CWP to use as your project keeper. That means any versioning files from AutoSave, or ones saved manually (MyProject1.cwp, MyProject2.cwp, etc.) have to be deemed unwanted and then deleted.

    Anyway, just some food for thought.

    I have a bunch of mixes I'm going to archive over the next few weeks. I think I'm going to try this method first, and see how much space I reclaim. Thansk for the suggestion!

    Corey

    Ath 64 3500+
    MSI K8N N2 Plat ATX 939 Mobo
    2Gb DDR2 400
    RME Hammerfall HDSP 9652
    UAD1 4.2
    WinXP Pro SP2
    Sonar 8.3PE
    New Henry and Buster episodes available!
    #3
    mikeinFL
    Max Output Level: -80 dBFS
    • Total Posts : 536
    • Joined: 2005/02/19 01:08:21
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/20 16:56:54 (permalink)
    thanks Laserich, exactly what I was looking for
    #4
    Jose7822
    Max Output Level: 0 dBFS
    • Total Posts : 10031
    • Joined: 2005/11/07 18:59:54
    • Location: United States
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/20 17:09:03 (permalink)
    I think that the CWAF_Tool (Cakewalk Audio Finder Tool) works great for this even if you save different versions of the project (like I do). It is also very easy to use:


    1- Save any projects you are currently working on. Just have Sonar open and select the CAWF Tool from the Tools menu.

    2- Click "OK" on the warning message that appears. Then configure the CWAF as needed by selecting the File Extensions (CWP for project files) and Drives that you want to search. Click "OK" when you're done.

    3- Next, hit the "Find" button and wait until it shows you the Status of the .wav files on the bottom half of the window (Referenced, Orphan, or Missing).

    4- Click on "Status" to group similar files together. This will make it easy to select a bunch of Orphaned files in one go by draging with the mouse while holding the Ctrl key (alternatively, select the first orphaned file, scroll down and click on the last orphaned file while holding down the SHIFT key).

    5- Once all orphaned files are selected (make sure you've only selected orphaned files by looking at the bold writting found at the bottom right corner of the window), click the "Move Wave" button. "Move to" should already be set to "Recycle Bin" so just click "OK". Confirm the file delete by clicking "OK" once more.

    6- Another window will appear asking you to re-search drives, so go ahead and do that to make sure there are no missing files.


    Don't worry about deleting these files since they will remain inside the Recycle Bin until you permanently delete them, so you can go back and restore them if needed. In case the CWAF Tool finds any missing files after re-scanning, make a note of the project files they belong to and open them. You will see a message telling you that some files that belong to the project are missing and you'll be given different search options. Before you continue, select the option to reference files from their present location, then go to the Audio folder and search for the file it's asking you. Once you select this file all other missing files from this project should automatically be found (but sometimes you have to find a couple of them). Repeat as needed.

    If no missing files were found then you're good to go. The CWAF Tool might seem hard to use but it's actually really easy and a blessing if you know how to use it. For more info, read the manual or hit F1 while having the CWAF Tool open.


    HTH
    #5
    Shadow of The Wind
    Max Output Level: -82 dBFS
    • Total Posts : 425
    • Joined: 2005/06/09 17:39:20
    • Location: Mountain View, CA (German)
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/20 18:19:14 (permalink)
    Save the project as a bundle (CWB), burn the original folder on a DVD as a backup, unpack the bundle.

    Wilko
    #6
    Bottomfeeder
    Max Output Level: -87 dBFS
    • Total Posts : 154
    • Joined: 2005/01/31 00:17:21
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/21 01:01:48 (permalink)
    Thanks jose

    Sonar 8 PE
    Pentium 4 2.8 Ghz 1GB RAM
    M-Audio Fast Track Ultra
    Tascam US-428, US-122, US-144
    Audio Technica AT2020
    Reason 4.0
    Sound Forge 8.0
    Waves Diamond Bundle w/ SSL Plugs Wow!
    #7
    HotCoollMusicGirl
    Max Output Level: -71 dBFS
    • Total Posts : 991
    • Joined: 2004/10/02 20:23:31
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/21 03:11:04 (permalink)
    ORIGINAL: Laserich

    What I do is a quick and easy way to purge unwanted files, those that aren't referenced in the project. Just save the file to a brand new audio folder, delete the original folder and CWP, then resave back to its original folder with original file name.

    Of course, it only works if you've decided on a single CWP to use as your project keeper. That means any versioning files from AutoSave, or ones saved manually (MyProject1.cwp, MyProject2.cwp, etc.) have to be deemed unwanted and then deleted.

    Anyway, just some food for thought.


    I use more or less the same method. But it seems to me that deleting unneeded wav files could be much more straightforward and should definitely be more project specific that what the CWAF tool or the Clean Audio Folder too provide.

    If you store all you audio files in the project's Audio folder, then cleaning it out should be as simple as a tool that you can point to the main project folder, select all the CWP files you want to maintain (whether or not these are autosaves or backups that you've undependably made) and having the tool read those CWPs for referenced files, then have it look only in that one folder, and present a list of files in that folder but NOT referenced by the selected CWPs. If for some reason any of the CWPs reference audio that is outside the project Audio folder, then it should be simple enough to provide a list of those as well, including that that are referenced but missing. But at least the search would be limited to that one project.

    The way it works now is way too broad and requires dealing with CWPs that you might not have touched in years, as well as those whose audio folders have already been cleaned out.

    Maybe it's just something peculiar with my system, but when I run the CWAF tool it never seems to complete the process.

    It finds a bunch of CWPs and associated wav files. But The "Find" button changes to "Stop," but it never reverts back to Find. In the Status column, all the wav files are indicated as of "Unknown" status. The CWAF appears to be hung up. Maybe I just don't wait long enough, but it's really taking quite forever -- longer than it would take to search all of my drives, and not just the two that I've indicated should be searched. When I click the Stop button, I get a message that says:

    You STOPPED the Search.
    If any existing project files were not searched,
    you may get erroneous ORPHAN data indicators.

    Use EXTREME care when moving any Wave files.


    When I click OK on the dialog, it at first indicates it is "not responding" and then some moments later the Status of the found files indicates either Referenced, Orphan, or Missing. But I don't have confidence that the search was actually completed. So -- having been duly warned to use EXTREME care -- I don't have confidence in actually doing much of anything beyond that point.

    Still, even without the apparent glitch, the process itself should be simpler.

    Sometimes you just have to decide what you will and what you will not take seriously.
    #8
    Susan G
    Max Output Level: 0 dBFS
    • Total Posts : 12016
    • Joined: 2003/11/05 22:49:26
    • Location: Putnam County, NY
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/21 03:29:24 (permalink)
    Hi Mike-

    I recommend using Tools > Consolidate Project Audio. See the documentation for details, but I find this very helpful for cleaning things up.

    -Susan

    2.30 gigahertz Intel Core i7-3610QM; 16 GB RAM
    Windows 10 x64; NI Komplete Audio 6.
    SONAR Platinum (Lexington) x64
    #9
    Jose7822
    Max Output Level: 0 dBFS
    • Total Posts : 10031
    • Joined: 2005/11/07 18:59:54
    • Location: United States
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/21 12:27:26 (permalink)
    HotCoollMusicGirl,

    The CWAF Tool does exactly what you described, except you exclude folders instead. For example, if all my Project Files (.cwp) are on drive F:, I can tell the tool to only search that drive and exclude as many folders found in that drive as I want. I admit that it would be very useful to also have it work the other way around where you could tell it to search only one folder instead of excluding a bunch of them. But, if you have everything well organized then this shouldn't be a problem. So far it only searches what I tell it to search, and it keeps my preferences until I decide to change 'em the next time.

    By the way, when clicking on "Find" you have to wait until it shows you the status of all the files or else the search is incomplete as you've noticed (it could actually be causing problems for you though). Give it another shot and let it sit there until it finishes. I couldn't tell you how long it should take 'cause it all depends on how many projects you have and how big each one of them are. But what I can tell you is that, in my case, it takes the CWAF Tool about 3 minutes to search my entire Audio hard drive currently containing about 40 to 50 projects (some of them are MIDI only though).

    The cool thing about using the CWAF Tool is that you only use this process once and then you're done, until the next time you record a bunch of new material of course. I don't have to go about moving files/folders around or consolidating all my audio projects one by one. This one tool cleans everything in one go. In case some files were wrongly deleted, just go into the trash can and restore them. It even restores files that have been permanently deleted as long as they haven't been overwritten. I think it's a wonderful tool but I do agree that it could be even better (there's always room for improvement).


    Take care!
    #10
    Laserich
    Max Output Level: -80 dBFS
    • Total Posts : 517
    • Joined: 2008/02/04 18:33:44
    • Location: Bourbonnais USA
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/21 13:05:37 (permalink)
    thanks Laserich, exactly what I was looking for


    Cool, my pleasure.

    http://www.someofmyownstuff..com

    . . . . . . . . . . . . ......
    #11
    spindlebox
    Max Output Level: -49 dBFS
    • Total Posts : 2645
    • Joined: 2007/05/30 07:56:11
    • Location: Kansas City, MO
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/21 13:21:05 (permalink)
    Save the project as a bundle (CWB), burn the original folder on a DVD as a backup, unpack the bundle.


    +1 to this. This is BY FAR the easiest way to do it. I also transfer the BUN files over to my wife's computer as a backup before in unpack. Delete everything in my Audio and Project folders and unpack as needed.

    I've never had any problems. No muss, no fuss.


     

     
    #12
    Laserich
    Max Output Level: -80 dBFS
    • Total Posts : 517
    • Joined: 2008/02/04 18:33:44
    • Location: Bourbonnais USA
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/21 13:26:49 (permalink)
    Good idea!

    And also except for when AudioSnap's in use.

    http://www.someofmyownstuff..com

    . . . . . . . . . . . . ......
    #13
    Susan G
    Max Output Level: 0 dBFS
    • Total Posts : 12016
    • Joined: 2003/11/05 22:49:26
    • Location: Putnam County, NY
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/21 14:59:37 (permalink)
    [Well, it said it didn't go through, but it obviously did! Sorry for the double post...]
    post edited by Susan G - 2008/03/21 15:19:36

    2.30 gigahertz Intel Core i7-3610QM; 16 GB RAM
    Windows 10 x64; NI Komplete Audio 6.
    SONAR Platinum (Lexington) x64
    #14
    Susan G
    Max Output Level: 0 dBFS
    • Total Posts : 12016
    • Joined: 2003/11/05 22:49:26
    • Location: Putnam County, NY
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/21 15:01:27 (permalink)
    Hi Scott-

    Glad you've never had a problem with .cwb files, but I did just once a couple of years ago, and that was enough! If the bundle file gets corrupted you lose everything. I would never trust a .cwb as my backup. I use Project Folders, then Consolidate Project Audio to get everything I need (no unused audio clips) into one folder and then burn that folder to CD/DVD instead.

    -Susan

    2.30 gigahertz Intel Core i7-3610QM; 16 GB RAM
    Windows 10 x64; NI Komplete Audio 6.
    SONAR Platinum (Lexington) x64
    #15
    spindlebox
    Max Output Level: -49 dBFS
    • Total Posts : 2645
    • Joined: 2007/05/30 07:56:11
    • Location: Kansas City, MO
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/21 15:45:17 (permalink)
    Susan,
    I hear ya! Well, I just hope for the best. I make more than 1 backup; 1 on my wife's computer and one on a CD, and of course I have the original as well, so really there's 3. I can't imagine that all 3 would get corrupted being in 3 physically seperate areas. I figure if my 3 strikes are up I'm out anyway!!!





     

     
    #16
    Susan G
    Max Output Level: 0 dBFS
    • Total Posts : 12016
    • Joined: 2003/11/05 22:49:26
    • Location: Putnam County, NY
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/21 16:04:42 (permalink)
    Hi Scott-
    I figure if my 3 strikes are up I'm out anyway!!!

    Probably a clear vision!

    OTOH, why not do one backup using PPF, just to be on the safe side? Worst case, your bundle file is corrupted and you've made multiple copies of it...

    Sorry to meddle-

    -Susan

    2.30 gigahertz Intel Core i7-3610QM; 16 GB RAM
    Windows 10 x64; NI Komplete Audio 6.
    SONAR Platinum (Lexington) x64
    #17
    spindlebox
    Max Output Level: -49 dBFS
    • Total Posts : 2645
    • Joined: 2007/05/30 07:56:11
    • Location: Kansas City, MO
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/21 16:06:54 (permalink)
    Oh, Susan, you're such a meddler, NOT TO MENTION A CONTROL FREAK!!!

    Forgive my complete and utter ignorance, but what is PPF? I'm all for being on the safe side.


     

     
    #18
    ...wicked
    Max Output Level: -1.5 dBFS
    • Total Posts : 7360
    • Joined: 2003/12/18 01:00:56
    • Location: Seattle
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/21 16:14:30 (permalink)
    Well, I hate per-project audio folders, I love managing my assets, and I use the CWAF tool.

    I did a massive re-org where I opened ALL my files, used the "copy audio to folder" option and set a manual audio folder in a heirarchy that worked for me. After doing this for everything I nuked hte original repository and now I'm golden. I use CWAF once a month or so to clean up dead wood.

    Backing up, I just copy all my project files and folders to an external drive. I do a softer backup more frequently of just the project files to a partition.

    ===========
    The Fog People
    ===========

    Intel i7-4790 
    16GB RAM
    ASUS Z97 
    Roland OctaCapture
    Win10/64   

    SONAR Platinum 64-bit    
    billions VSTs, some of which work    
    #19
    Susan G
    Max Output Level: 0 dBFS
    • Total Posts : 12016
    • Joined: 2003/11/05 22:49:26
    • Location: Putnam County, NY
    • Status: offline
    RE: How to clean up a project's audio folder (delete unused)? 2008/03/21 16:16:11 (permalink)
    Hi Scott-
    Forgive my complete and utter ignorance, but what is PPF?

    PPF = "Per Project Folders". Everything including your .cwp and audio is included in your project folder, so to back it up you can just drag it to your CD, etc.

    I'm out the door now, but others will fill you in, I'm sure!

    -Susan


    2.30 gigahertz Intel Core i7-3610QM; 16 GB RAM
    Windows 10 x64; NI Komplete Audio 6.
    SONAR Platinum (Lexington) x64
    #20
    sfmolloy@chariot.net.au
    Max Output Level: -90 dBFS
    • Total Posts : 1
    • Joined: 2014/12/30 00:50:47
    • Status: offline
    Re: How to clean up a project's audio folder (delete unused)? 2016/08/29 03:43:35 (permalink)
    The are good reasons why you might want to know the correspondence between tracks, their names and the names of wav files in your audio directory.
     
    I am working on a project for an iPhone app in which I have a combination of voice-over and backing music in multiple track folders. I want to take all of the voice-over wav files to a mastering engineer who will EQ, compress and level-balance all of these using far better tools, ears and monitoring environment than I have access to.
     
    Therefore, I need to know how to reach into the Audio directory where there are some 800 or so files and take out only the 'VOX' ones. Once they have been processed, I will bring them back drop them into the Audio project folder and re-open the project with clean balanced VOX files.
     
    It has been frustrating trying to work out how to do this but I have developed the following method.
     
    1. name the track with the first VOX file in it that I want to export with a 'VOX' prefix, and a unique name that clearly identifies it
    2. use the 'Copy track name(s) to clip names(s)' function in Track View>Tracks
    3. select and then Bounce the track
    4. go to the audio file, sort on 'last modified' and check that the a new wav with the track name has appeared.
    At the end of this process I will sort by name in the Audio directory and select all files with the 'VOX' prefix, copy them and take them to the mastering engineer.
    Just in case I lose the time-stamping on the clips in the processes at the master studio, I will make sure all of the clips go right back to the zero point of the project. 
     
    I realise that I could use the 'Export' function to do all but this would mean that I would definitely lose the time-stamping.
     
    If any one can figure out an easier way to do this, I'd love to hear it.
     
    S
     
     
     
     
     
     
    #21
    Bristol_Jonesey
    Max Output Level: 0 dBFS
    • Total Posts : 16775
    • Joined: 2007/10/08 15:41:17
    • Location: Bristol, UK
    • Status: offline
    Re: How to clean up a project's audio folder (delete unused)? 2016/08/29 05:21:45 (permalink)
    In your situation I would do 2 things:
     
    1. do a Save As to a new folder/location making sure "Copy audio with project is checked". This will ONLY copy across the wavs referenced by the project
    2. When you Export your tracks, choose Broadcast Wave (time stamped) in the Files of type dropdown

    CbB, Platinum, 64 bit throughout
    Custom built i7 3930, 32Gb RAM, 2 x 1Tb Internal HDD, 1 x 1TB system SSD (Win 7), 1 x 500Gb system SSD (Win 10), 2 x 1Tb External HDD's, Dual boot Win 7 & Win 10 64 Bit, Saffire Pro 26, ISA One, Adam P11A,
    #22
    chuckebaby
    Max Output Level: 0 dBFS
    • Total Posts : 13146
    • Joined: 2011/01/04 14:55:28
    • Status: offline
    Re: How to clean up a project's audio folder (delete unused)? 2016/08/29 07:14:20 (permalink)
    ya BJ has the right approach here. its not that hard really.
    you can do an Export and only choose the Vox files. with the save as function you have a whole new folder you could compress and send to the producer who is doing the work.
    it might even be possibly to copy/overwrite the wave files with the new ones once they come back to you.
     
    make a back up of the project. just incase you need to start from point A again.

    Windows 8.1 X64 Sonar Platinum x64
    Custom built: Asrock z97 1150 - Intel I7 4790k - 16GB corsair DDR3 1600 - PNY SSD 220GB
    Focusrite Saffire 18I8 - Mackie Control
       
    #23
    Jump to:
    © 2025 APG vNext Commercial Version 5.1