[Csnd] lpcanal/lpcfilter opcodes: kflg question

Hey hey,
is it the expected behaviour that no more input is processed, once the kflg parameter has been set to 0, even when it's returned to 1? I was a little uncertain about that.

Best wishes,

Jeanette

kflag determines whether the filter coefs continue to be computed from the input. If it is 0, previous coefs are kept, resulting in a fixed filter. In case of lpanal, then kcoefs[] won't change over time.

Prof. Victor Lazzarini
Maynooth University
Ireland

Sep 1 2021, Victor Lazzarini has written:

kflag determines whether the filter coefs continue to be computed from the input. If it is 0, previous coefs are kept, resulting in a fixed filter.

...
So far so good. But aren't coeffs extracted from the incoming audio
signal, once the kflg is returned to 1, after a freeze?

Best wishes,

Jeanette

Once kflag is 1, then coefs are computed again.

Prof. Victor Lazzarini
Maynooth University
Ireland

Sep 1 2021, Victor Lazzarini has written:

Once kflag is 1, then coefs are computed again.

Hm, it didn't work here. But alas, I'm still on 6.15 and can't update the Archlinux Csound package yet. Were there issues?

None reported.

Prof. Victor Lazzarini
Maynooth University
Ireland

I found the bug, thanks for reporting.

It only affects the versions using audio input as analysis. The function table versions work correctly.

and the fix is pushed to git develop.

Sep 1 2021, Victor Lazzarini has written:

and the fix is pushed to git develop.

Many thanks! As ever you are lightning fast! Very much appreciated!

Best wishes,

Jeanette

Well, it was me who messed up in the first place. I should have tested this.
Anyway, if you want to try this feature (which is cool, I think) without having to update,
you can use the ftable version of the opcodes.