csteinmetz1 / pyloudnorm

Flexible audio loudness meter in Python with implementation of ITU-R BS.1770-4 loudness algorithm
https://www.christiansteinmetz.com/projects-blog/pyloudnorm
MIT License
639 stars 56 forks source link

`z` should be have length `numBlocks`, not `numSamples`, on initialization #18

Closed ghost closed 5 years ago

ghost commented 5 years ago

numSamples should be replaced with numBlocks: https://github.com/csteinmetz1/pyloudnorm/blob/812bce142f85cf8b0992a908f80466f42166f5dd/pyloudnorm/meter.py#L73

csteinmetz1 commented 5 years ago

Thanks for pointing this out. This should not have caused any issues but I have corrected it for transparency/readability. Thanks again!