Skip to content

WaveWriter metadata missing duration etc. #25

@Graphi07

Description

@Graphi07

I just started using WaveWriter to write multi-channel data, and the output wav files can be read by Matlab and Audacity, as well as recognized by sox. But when loading it into Adobe Audition, the length of the audio is zero. I suspect that relevant metadata is missing because when I use soxi to inspect some Audition compatible files I see:

Input File : 'output.wav'
Channels : 1
Sample Rate : 16000
Precision : 16-bit
Duration : 01:27:30.24 = 84003840 samples ~ 393768 CDDA sectors
File Size : 168M
Bit Rate : 256k
Sample Encoding: 16-bit Signed Integer PCM

But for those file written by WaveWriter the output is like:

Input File : 'test1.wav'
Channels : 2
Sample Rate : 16000
Precision : 16-bit
Sample Encoding: 16-bit Signed Integer PCM

So Duration, File Size, and Bit Rate are missing, which I guess will be used by some other audio software to load the file. While this is not a bug, I'm suggesting this in case people expect to have more compatibility from this package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions