in reply to FMT chunk?

This may be a silly question but have you tried any other players except Winamp?
The best I could do to explain the error is a link to WAV File Format.

Hope this helps

"Argument is futile - you will be ignorralated!"

Replies are listed 'Best First'.
Re: Re: FMT chunk?
by gregor-e (Beadle) on Jun 18, 2001 at 19:17 UTC
    Yeah, I tried Windoze Media Player, and it complained that no combination of filters could be found to play the file.

    As I understand it, the FMT chunk is a required field in RIFF WAV files. Strikes me odd the Audio::Wav::Write example doesn't write it. Must be a problem of shifting standards.

    Thanks for the link to WAV format. I'll see if I can gin up a proper FMT chunk.

      Have you had a look at the lengthily-named Audio::Wav::Write::Header ??
      A slightly more useful link.

      "Argument is futile - you will be ignorralated!"

        Nice link! Thanks. Turns out your humble seeker failed to copy the last line of code from the perldoc example, which invoked the finish() function. Once the final line was included, glorious sinusoidal sounds ensued.

        Moral: RTFM...RTFM carefully...

        (Seeker promises to say thirty-three "Hail Larrys" as pennance).