Hi everyone. This is my first post, so go easy on me and please let me know if I am posting in the wrong place. While I have been home recovering from knee surgery this week, I have been palying around with audio compression and trying to learn about the different encodings and see if I can hear the differences.
[B]The Background[B]
Since my ear is not that good, I wanted to hear the difference between a compressed audio file and the original wav. I encoded the original wav using oggenc and then decoded it back to wav using ogg123 and then inverted the waveform of the new file and mixed it back with the original using soxmix. The result is quite amazing, to be able to hear what was removed in the encoding process. I wanted to do the same with an mp3 and perhaps diff the ogg and mp3 to see the differences between the two compression formats, but I am having trouble because the mp3's are decoding to different sizes.
[B]The Details:[B]
I ripped a song to wav from a CD and I ended up with a file size of 28877900 blocks. When I encode that wav as an Ogg and then decode it back to wav, I get a consistent file size of 28877900, but when I encode the original wav to mp3 and back, I get a wav file size of 28882988. 5088 blocks bigger. Does anyone know what is happening and how I can work around it? I'm using vorbis-tools 1.0.1 and lame 3.95 on Linux.
TIA for any insight.