QUOTE(mandel @ Jun 13 2005, 04:09 PM)
I think the only way to achieve what you want would be if somebody made a new lossy encoder that had the ability to losslessly convert an encoded-decoded wav file back to the encoded source. Even then it'd only work for files encoded in this new format. I suspect this lies somewhere between impossible and very unlikely.
I was thinking about a 24bit -> 16bit conversion tool which embeds an arbritary binary file (ie the original mp3) in the lower bits of the PCM samples adaptivly (using psychoacoustics) so the file can be restored from the PCM wave. Applying psychoacoustics similarily like it is used in most lossy codecs it should be possible to embed a 200 kbps file into the 1411 kbps PCM file without noticable artefacts (considering typical loudness). One could throw in some ecnryption (to get pseudo random lower bits which is usefull for dithering) and some FEC codes to be able to restore the original data even though in the case the WAVE hasn't been perfectly ripped from the CD again and stuff...
So, from the user point of view it could look like this:
- decode mp3 to 24 bit wave
- run tool to convert 24 bit wave to 16 bit wave + embedding the original mp3
- burn the 16 bit wave as audio track on a CD
- rip the track from the CD
- run a tool which decodes the original mp3 from the lower bits of the WAVE
The reason why I did not start coding such tools is solely the lack of motivation. There isn't really a need for this, is it ?
Sebi