Skip to content

Final delay values 'zf' #21

Closed
Closed
@ybourdin

Description

@ybourdin

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions