integrity check on file save

Author
lawp
Max Output Level: -67 dBFS
  • Total Posts : 1154
  • Joined: 2012/06/28 13:27:41
  • Status: offline
2014/11/02 07:22:27 (permalink)
3 (1)

integrity check on file save

to prevent "corrupted" project files, such as http://forum.cakewalk.com/Sonar-X3-Trying-to-open-a-recent-project-that-is-failing-to-open-even-in-recovery-mode-m3111280.aspx sonar should perform some integrity check or "validation" before or after saving

sstteerreeoo ffllllaanngge
#1

5 Replies Related Threads

    Grem
    Max Output Level: -19.5 dBFS
    • Total Posts : 5562
    • Joined: 2005/06/28 09:26:32
    • Location: Baton Rouge Area
    • Status: offline
    Re: integrity check on file save 2014/11/04 08:02:26 (permalink)
    0
    Yes I agree. If possible.
     
    But what would it validate? That it could open?
     
    I mean the only way "we" know it's a corrupted file is it won't open. I don't think Sonar knows it! But we sure do!

    Grem

    Michael
     
    Music PC
    i7 2600K; 64gb Ram; 3 256gb SSD, System, Samples, Audio; 1TB & 2TB Project Storage; 2TB system BkUp; RME FireFace 400; Win 10 Pro 64; CWbBL 64, 
    Home PC
    AMD FX 6300; 8gb Ram; 256 SSD sys; 2TB audio/samples; Realtek WASAPI; Win 10 Home 64; CWbBL 64 
    Surface Pro 3
    Win 10  i7 8gb RAM; CWbBL 64
    #2
    lawp
    Max Output Level: -67 dBFS
    • Total Posts : 1154
    • Joined: 2012/06/28 13:27:41
    • Status: offline
    Re: integrity check on file save 2014/11/04 11:03:47 (permalink)
    +1 (1)
    well, it's difficult to say without insight into how the save actually works, but for example (a super simple example!) let's say there's a parameter that has to have an integer value between 0 and 127, but a typo in the code (sonar or 3rd party plugin) results in a value between 0 and 1270 (or say 0 and 12.7) being saved, on validation sonar would check that parameter value must fall between 0 and 127 and is an integer, detect that it doesn't/isn't, and raise some kind of error flag or possibly use some default that does fall within the range... so at least it could possibly prevent it becoming "unopenable"...  i'm sure there's lots of this kind of stuff going on anyway, as noel has  indicated, but yeah always room for improvement :-)

    sstteerreeoo ffllllaanngge
    #3
    stevec
    Max Output Level: 0 dBFS
    • Total Posts : 11546
    • Joined: 2003/11/04 15:05:54
    • Location: Parkesburg, PA
    • Status: offline
    Re: integrity check on file save 2014/11/05 15:35:43 (permalink)
    0
    Sounds like an "expensive" operation, time and resource-wise.   However, as option and perhaps a separate process from simply saving and opening, and maybe resulting in a output log, sure, I can see its use!  
     

    SteveC
    https://soundcloud.com/steve-cocchi
    http://www.soundclick.com/bands/pagemusic.cfm?bandID=39163
     
    SONAR Platinum x64, Intel Q9300 (2.5Ghz), Asus P5N-D, Win7 x64 SP1, 8GB RAM, 1TB internal + ESATA + USB Backup HDDs, ATI Radeon HD5450 1GB RAM + dual ViewSonic VA2431wm Monitors;
    Focusrite 18i6 (ASIO);
    Komplete 9, Melodyne Studio 4, Ozone 7 Advanced, Rapture Pro, GPO5, Valhalla Plate, MJUC comp, MDynamic EQ, lots of other freebie VST plugins, synths and Kontakt libraries
     
    #4
    Splat
    Max Output Level: 0 dBFS
    • Total Posts : 8672
    • Joined: 2010/12/29 15:28:29
    • Location: Mars.
    • Status: offline
    Re: integrity check on file save 2014/11/05 15:47:02 (permalink)
    0
    Each service pack or Sonar version will probably parse through each file in a different manner. In some cases it may try to fix issues discovered with old Sonar files. It gets a lot more complex though with third party plugins, Sonar cannot really predict their behavioir esp when plugins get upgraded over time. All Cakewalk can do it write defensive code. It's a miracle it works so well IMHO.

    Sell by date at 9000 posts. Do not feed.
    @48/24 & 128 buffers latency is 367 with offset of 38.

    Sonar Platinum(64 bit),Win 8.1(64 bit),Saffire Pro 40(Firewire),Mix Control = 3.4,Firewire=VIA,Dell Studio XPS 8100(Intel Core i7 CPU 2.93 Ghz/16 Gb),4 x Seagate ST31500341AS (mirrored),GeForce GTX 460,Yamaha DGX-505 keyboard,Roland A-300PRO,Roland SPD-30 V2,FD-8,Triggera Krigg,Shure SM7B,Yamaha HS5.Maschine Studio+Komplete 9 Ultimate+Kontrol Z1.Addictive Keys,Izotope Nectar elements,Overloud Bundle,Geist.Acronis True Image 2014.
    #5
    perfectprint
    Max Output Level: -73 dBFS
    • Total Posts : 862
    • Joined: 2010/01/02 02:21:12
    • Status: offline
    Re: integrity check on file save 2014/11/05 16:00:29 (permalink)
    0
    this sounds superfluous to me. i really don't want to sit through an integrity check ever time i press ctr+s. that would waste hours cumulatively over something I have never had a problem with.  User backup and safe mode are all you need. 

    Sonar Platinum                      

    #6
    Jump to:
    © 2024 APG vNext Commercial Version 5.1