in reply to searching for a binary string in a binary file
You might also be interested in reading up on Audio::Wav and Audio::FindChunks.