Archiving samples: SHN better than MP3?

alex23

Ontologist for Hire
Hey everyone,

Today I received an email from a friend of mine which included an attachment of a recent small mixset he performed live. The set was sent in .shn, which I'd never even heard of before.

So I went searching and came across a small .SHN (and .MD5) faq, which describes SHN as "an audio compression scheme [..] that can compact wav files without subtracting out any frequencies. It's 'lossless'- everything in the original wav is there, so that full quality is maintained."

It goes on to claim that the compressed SHN file size is roughly 50-70% the size of the original WAV file.

While it's nowhere near the compression ratio of MP3, even halving file sizes (especially of samples that are being archived "just in case") sounds like a worthwhile gain.

Has anyone actually dealt with SHN compressed files? If so:

+ Are they really lossless? No discernable difference in quality?

+ Are they straight forward enough to work with or is there some hidden catch here I'm not seeing?
 
I'm guessing SHN files work like the FLAC compression does, which in turn works a bit like ZIP compression - it takes the all the similar bits of data and represents them in a different way: for example if you have a row of ten zeroes, the compression scheme would show them as 10x0 instead of 0000000000 - less data. In this case, and with FLAC, the process has just been optimized for audio use (as you probably know, normal ZIP compression doesn't do much to audio files).

Probably works, but I haven't really used either, since HD space is so cheap these days :)
 
krushing said:
Probably works, but I haven't really used either, since HD space is so cheap these days :)
Good point...I'm kinda excited about the 250GB SATA RAID 0 setup I'm installing next week :D
 
Back
Top