Skip to content

FYI: This library doesn't handle all WAV RIFF headers (will break on WAV files from Apple AVFoundation) #27

@mpdaugherty

Description

@mpdaugherty

I don't think this library is maintained anymore, but FYI, I tried to use this on Mac and it failed with an error, Expected "fmt " string at 8 when reading WAV files written by AVFoundation.

AVFoundation WAVs have a spec-compliant header ~4k bytes long (see this stack overflow discussion)

WAV headers can have chunks in different orders and with different lengths because WAV is a subset of RIFF, but a lot of wav software assumes a 44-byte header and looks for specific chunks like fmt at specific offsets in the file.

I advise avoiding this library. Unfortunately, I didn't find a good alternative and solved my problem in a different way and just removed the library from my code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions