![]() |
Fluffy Cats |
Broadcast WAV is an extension to the WAV file format to allow it to store metadata useful for broadcasters.
Some information on the standard can be found at
http://www.sr.se/utveckling/tu/bwf/index.htm
(including "gold" test files)
and
http://www.ebu.ch/en/technical/publications/tech3000_series/index.php
The PERL module, Audio::WAV has the ability to read and write some WAV metadata, but not the Broadcast WAV extensions, so I've written a first attempt at handling the common ones:
It is still a work in progress, but the code so far appears to read the test files OK and write sane output.
Here is a diff plus a couple of very crude test harnesses for reading and writing the header data.