Gabriel Beckers

Results 4 comments of Gabriel Beckers

Forgot to append the output of the code on my machine: 0.9.0 1.0.27 wav [-1. 0.99996948] flac [1. 0.99996948]

Sorry see that this was already reported in #265, and that the cause is in libsndfile. I hope this is fixed because converting from wav to flac is something that...

In the meantime, for those who want to avoid being bitten by this bug: when reading FLAC data in SoundFile, don't use the default dtype='float64' (which causes the buggy normalization...

Indeed I can see the rationale behind it, and for most use cases this is the best option. It could be documented in more depth what happens to numpy integers...