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
Hello,
Thank you for your work.
It would be great to be able to get the final delay values 'zf' like with scipy.signal.lfilter, so that on the next calls to sample_wise_lpc with consecutive buffers, one can pass zi = zf.
zf can be obtained like this, but it's not so obvious:
y1 = sample_wise_lpc(x[:, :L], a, zi=None)
order = a.size(-1)
zf = y1[: -order:].flip(1)
y2 = sample_wise_lpc(x[:, L:), a, zi=zf)
The text was updated successfully, but these errors were encountered:
Hi @ybourdin , glad to know you're interested in our work!
Good suggestion!
I suggest having a separate function like sample_wise_lpc_zf that implements what you describe and returns a tuple (y, zf) so we don't introduce backwards incompatible changes.
Please feel free to submit a PR, and we'll review it.
Hello,
Thank you for your work.
It would be great to be able to get the final delay values 'zf' like with scipy.signal.lfilter, so that on the next calls to sample_wise_lpc with consecutive buffers, one can pass
zi = zf
.zf can be obtained like this, but it's not so obvious:
The text was updated successfully, but these errors were encountered: