absence |
06 June 2010 10:17 |
Quote:
Originally Posted by Thorham
(Post 675361)
To be honest, I worded my question in quite the wrong way. What I mean is that there seems to be no difference between a 16 bit WAV and a 14 bit version of that same WAV when played back on an Amiga.
|
In that case, there is no difference.
Quote:
Originally Posted by Thorham
(Post 675361)
It's part of an audio compressor I'm doing for a little project of mine. Basically I want lossless compression, and because this is Amiga only, I figured I could get away with not storing bits that can't be played back by the audio hardware.
|
Ah right, I should have recognised you from the other thread. Was a bit tired. ;)
Quote:
Originally Posted by Thorham
(Post 675361)
Interesting. I tried to do it with Sox on the peecee, but it didn't want to convert 16 bit to 14 bit :( Perhaps I'll try writing something myself if it's not too difficult :)
|
There probably aren't many tools that support 14 bits. Plain dithering is quite simple, you just add white noise with a triangular PDF (two rectangular PDF noise sources added together) and amplitude of two 14-bit steps (2/2^14 = 2^-13) to the 16-bit signal before removing the two lowest bits when converting to 14 bits. This replaces the distortion caused by throwing away bits with a slight hiss, which is less objectionable to our ears. Both distortion and hiss may be difficult to notice at 14 bits, so if you're going to implement it, try a more extreme setting like 4 bits first to make sure it works.
Noise shaping is tricker, as you use coloured/filtered noise instead of white in order to move the hissing to parts of the frequency spectrum where our ears are less sensitive.
As mentioned in the other thread, both methods will make it harder to compress the signal though, as noise doesn't compress well.
|