You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 22, 2024. It is now read-only.
While rounding may be useful for some applications, it harms others.
Consider audio at 22050 Hz sampling rate with length 74751 samples. With a hopsize of 256 samples and padding such that each frame is centered at hopsize / 2, 3 * hopsize / 2, 5 * hopsize / 2, etc., this should yield 291 frames. With the current default rounding, it produces 292 frames and is misaligned with other features I use. Because rounding cannot be turned off, I cannot fix this while using this library in its current state.
I think rounding should be optional. I also think that it should not be the default system behavior.
While rounding may be useful for some applications, it harms others.
Consider audio at 22050 Hz sampling rate with length 74751 samples. With a hopsize of 256 samples and padding such that each frame is centered at
hopsize / 2, 3 * hopsize / 2, 5 * hopsize / 2, etc., this should yield 291 frames. With the current default rounding, it produces 292 frames and is misaligned with other features I use. Because rounding cannot be turned off, I cannot fix this while using this library in its current state.I think rounding should be optional. I also think that it should not be the default system behavior.