Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WaveWriter metadata missing duration etc. #25

Open
RoyJames opened this issue May 10, 2019 · 0 comments
Open

WaveWriter metadata missing duration etc. #25

RoyJames opened this issue May 10, 2019 · 0 comments

Comments

@RoyJames
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant