Closed
Description
Content originally posted by @shirok1 in #33:
Wrong sampleCount
expression in ReadWAV
(readme.md)
int sampleCount = (int) (afr.Length / afr.WaveFormat.BitsPerSample / 8);
I guess this sampleCount
is an estimation of the final size of the List<double> audio
. However, 253296 is 64 times smaller than 16210944. So the most reasonable explanation is /8
is a typo of *8
.
This "typo" causes the birth of garbage twice as large as the audio
itself.
Metadata
Metadata
Assignees
Labels
No labels