Havoc;179987 Wrote: 
> From what I understood of the .wav format is that it is more a kind of
> container than a simple file. there is the obligatory header and audio
> data, but a lot of other blocks are possible. So in theory you could
> add tags without interfering with normal playback.
> 
> Has anyone looked at the byte-level what happens?
> 
> Going to look at that application. This is a find!

Not quite: WAV is a header and a data block.  At the start of the data
block, there is a length.  In theory, a player will read the length and
use that to determine the end of the data and not send anything past
that point.

http://mural.uv.es/samecues/wav.htm shows a picture of how they append
the id3 to the end of the file, and
http://www.ringthis.com/dev/wave_format.htm shows the format of a WAV
file.  (Note the "size of data chunk / 4 bytes - DWORD / Number of
bytes of data is included in the data section." part.)

Of course, using id3 tags on WAVs is completely non-standard.  As long
as you are being non-standard you may as well use Vorbis comments,
since at least those suck less.

(And I still don't understand why not just FLAC the files... it isnt
like FLAC takes much time at all and then you don't have to worry about
whether undocumented/undefined behavior will continue to work.)


-- 
snarlydwarf
------------------------------------------------------------------------
snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=32661

_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/ripping

Reply via email to