File Deterioration

Posted by: endlessnessism on 07 November 2013

Somebody once told me, a propos digital photo files, that every time you opened them on screen they deteriorated ever so slightly.  I don't remember who told me, or when, and it may be complete rubbish.  If, however, there's truth in it, are our favourite music files also in danger of disappearing through over-enjoyment? 

Posted on: 07 November 2013 by winkyincanada
Originally Posted by endlessnessism:

Somebody once told me, a propos digital photo files, that every time you opened them on screen they deteriorated ever so slightly.  I don't remember who told me, or when, and it may be complete rubbish.  If, however, there's truth in it, are our favourite music files also in danger of disappearing through over-enjoyment? 

Not quite true. Lossy compressed files like jpegs will deteriorate each time a new generation is saved. That's why, even if the orginal is compressed you should convert a version to TIFF (or other lossless format) before multi generational editing. Convert back to jpeg once you're done, if necessary. Newer photo editing sfotware like Lightroom doesn't change the underlying file at all, but simply saves the editing instructions as meta-data, recreating the edited image each time the file is opened. Images edited with this style of software doesn't suffer from generational degradation due to compression on file saving.

 

Simply opening to view a photo and closing again does not affect the underlying file. Similarly, opening an music file to listen to it doesn't affect it. In the case of lossy files, the damage has already been done with the initial compression.

Posted on: 07 November 2013 by AndyL

begs the question whether over the long term a gradual albeit minimal physical deterioration of NAS disk drives reduces sound quality if bits can be lost this way?

Posted on: 07 November 2013 by Aleg
Originally Posted by AndyL:

begs the question whether over the long term a gradual albeit minimal physical deterioration of NAS disk drives reduces sound quality if bits can be lost this way?

Professional operating systems for storage networks (like ZFS) prevent this by storing redundant data and have checksums on the actual data that are being checked on reads. Normal OS don't have checksums on actual data, but only on TOC.

 

you could build one yourself because the OS is free.

 

cheers

 

aleg

Posted on: 07 November 2013 by Adam Meredith
Originally Posted by AndyL:

...... if bits can be lost this way?

What way?

Posted on: 07 November 2013 by BigH47

Will a playing file deteriorate if there in nobody to listen to it????

Posted on: 07 November 2013 by endlessnessism

I think it may be a law of physics that a music file can have no greater number of bits than the number of the listener's brain cells.  Which must explain why the young enjoy MP3 but doesn't quite explain why the old (whose hearing is shot) still believe that hi def is so much better.

Posted on: 07 November 2013 by trickydickie

I've sealed my NAS drive with ducktape to make sure no bits fall out. 

 

This may the secret with the Unitiserve, the case design stops the bits from escaping.

 

Richard

 

 

Posted on: 07 November 2013 by Simon-in-Suffolk

There are several levels of protection... firstly disc drives at their physical layer have redundancy and recovery using checksums to identify errors. Mirroring can detect bad data and go for correct data, and finally the file can be marked bad - and in which case the file is lost and is not recoverable.  Discs drives are designed should data become corrupted through being unable to read/write then that part of the disc is made non usable.

However data loss or corruption if a single word in a stream might be a single extremely brief click or possibly gap of silence. Listening to CD masters you do hear a few clicks - and a good system will show those up in the down steam conversion.

 

If you were getting random 'bit' errors then you would getting ticks and clicks all the time and it would be irritating and sound faulty.

A loss of digital data through data corruption usually results in a significant impact to the encoded signal - its not subtle and at best is a gap of silence.

Simon

 

 

Posted on: 08 November 2013 by Bananahead

I don't know about anyone else but I think that it a good idea to rip from CD at least three times so that the data is nice and thick.

Posted on: 08 November 2013 by Mr Underhill
Originally Posted by trickydickie:

I've sealed my NAS drive with ducktape to make sure no bits fall out. 

 

Posted on: 08 November 2013 by Kevin Richardson
Originally Posted by AndyL:

begs the question whether over the long term a gradual albeit minimal physical deterioration of NAS disk drives reduces sound quality if bits can be lost this way?

No.  We will not go down this path.  Not everything matters... only some things matter.  Please...

Posted on: 08 November 2013 by Kevin Richardson

Please... for my sanity... can we all just stop enumerating all the unlikely possibilities.  I honestly think I might go crazy if I start to suspect that a digital file can deteriorate.  Please.... lets just focus on ethernet cables.... yeah thats a great topic.

 

My god this is the most terrifying thread I've ever read....

Posted on: 08 November 2013 by pcstockton

Yes it is quite disturbing.. Literally.

Posted on: 08 November 2013 by MangoMonkey
Cosmic rays are known to flip bits every now and then ...
Actually, I'm serious -


Studies by IBM in the 1990s suggest that computers typically experience about one cosmic-ray-induced error per 256 megabytes of RAM per month. - from Wikipedia
Posted on: 08 November 2013 by MangoMonkey
You will get bad sectors on a hard drive eventually - but that's more akin to a cd getting scratched up...
Posted on: 09 November 2013 by Tog

I think our hearing will deteriorate first.

 

Tog

Posted on: 09 November 2013 by joerand
Originally Posted by MangoMonkey:
You will get bad sectors on a hard drive eventually - but that's more akin to a cd getting scratched up...

A CD will not get scratched if it stays in its case. Won't the hard drive still develop bad sectors whether being used or not?

Posted on: 09 November 2013 by Derek Wright

Which is why all data should be backed up, the data is not just dependant on the integrity of the surface of the drive but on the firmware which controls the data location, swapping of faulty sectors etc etc. The firmware is operated from chips and things on pcbs in the drive housing, these can be corrupted, fail etc etc. 

 

 

In the old days of huge disk drives that were so large that they would not be able to hold a track of music, the read write head would read the data and then rewrite the data back to the magnetic material - I do not know if the same process happens to day.

Posted on: 09 November 2013 by MangoMonkey
@joe: oh, so you still believe in perfect sound forever - and Santa?

You missed the thread on CDs left in their cases developing holes due to the ink used?
Posted on: 09 November 2013 by james n
Originally Posted by MangoMonkey:
Cosmic rays are known to flip bits every now and then ...
Actually, I'm serious -


Studies by IBM in the 1990s suggest that computers typically experience about one cosmic-ray-induced error per 256 megabytes of RAM per month. - from Wikipedia

One not to worry about then.

Posted on: 09 November 2013 by sjt

 

Backup is the right word here. The data I have accumulated over the years, e.g. documents, pictures and music is one of the few irreplaceable things I have, so I think it is important to backup. I did some investigation on backup strategy and the following is what I came up with as a plan that works for me:
  • Choose a file format that is an open published standard. This way, you are not at the tender mercy of a proprietary or closed format if its producer moves the goalposts or goes out of business. I believe FLAC is an open standard, and I have adopted this for music.
  • Physical disks do fail so you need multiple copies on different physical disks (they call it "redundancy" I believe). From what I read, it seems that you should have at least 3 copies of all data you care about, and one of these should be offsite. The offsite part is important because if anything happens to the place (e.g. building) where the main data is stored, you still have a copy. I have a NAS at home, and my strategy is to have 3 disks:
    • Disk 1 is the master disk (e.g. the one I use day to day - for docs, pics and to play music from)
    • Disks 2 and 3 are rotating offsite backups (they are encrypted also). At all times, one is in a drawer at work and the other is at home in the NAS. Evey week, I make sure the disk at home is up to date by synchronising with the master disk, and then I take it to work and swap it over.
  • Long term data archiving generally means migrating the data onto new physical media from time to time, as the media is likely to fail eventually, e.g. hard disk crashes, etc. I have found that this kind of comes naturally as my storage requirements increase and I need to buy new disks. I have found that my requirements kind of keep pace with the price of hard disks - by the time I have filled up e.g. a 1TB disk, a 2TB disk is the same price as what I paid for the 1TB disk. There is just the simple but time consuming matter of copying all the data on the old disk onto the new disk, and the result is the new disk is about half full. I then don't use the old disk. This could be seen as a bit wasteful, but this happens about every 2-3 years, so its not that often, and I the benefit is that I am using newish disks all the time. This also gives the opportunity to change to new disk formats or file system types as they become available.
This is all my opinion and this may not be suitable for everyone, but it works for me. Having done this, I don't worry about losing FLACs I bought on download, and I could happily lose the CDs I have ripped (indeed I have thrown some away after I ripped them because they were in such a grim state).
 
There are a few tools out there that quite easily do things like automatic synchronisation and backups and I have used some of these to automate a lot of the above. I am not sure if I am allowed to mention them by name here.
 
I can't post citations cos of forum rules, but if you search the internet for things like "data curation", or "data backup strategy", things should come up quite easily.
 
Hope this helps someone

 

Posted on: 09 November 2013 by MangoMonkey
Originally Posted by james n:
Originally Posted by MangoMonkey:
Cosmic rays are known to flip bits every now and then ...
Actually, I'm serious -


Studies by IBM in the 1990s suggest that computers typically experience about one cosmic-ray-induced error per 256 megabytes of RAM per month. - from Wikipedia

One not to worry about then.

You could. The chances are higher you'll win a lottery without buying a ticket.

Posted on: 09 November 2013 by MangoMonkey

Don't consider a NAS as a backup. My NAS (with redundant drives) fell off the shelf, and both drives broke.

Posted on: 09 November 2013 by Jude2012
There is no backup or other solution for hearing loss or other human problems such as dimentia, paranoia, and fear. 

Just some context.

Jude
Posted on: 09 November 2013 by Kevin Richardson

Ok everybody you can put your minds at rest.  I am writing some software that'll ensure you do not listen to files that have deteriorated.  

 

More information as it gets closer to delivery.