Closed tebin closed 3 years ago
This is not a bug and a designed result. This system has functions for not only analysis but also synthesis. The analyzed parameter should have a little longer than the input to maintain the same length between the input and output signals. The function is tuned not to access the out of bounds.
There seems to be an extra time step at the end, and I don't understand where it comes from.
Consider this example in Python wrapper.
Which is expected, since the last index is 15999.
Now when I try to run dio or harvest on this audio with hop size 10ms=160 samples:
According #99 f0 values should be evaluated at 0, 160, 320, ..., 15840, 16000, but since index 16000 is out of bounds it should stop at 15840. So I expect the output to have 100 f0 values and
timesteps
should not have that last value of 1.0.Can you please explain why the length is 101 not 100? Or is this not an intended behavior, thus an issue with the Python wrapper?