variable length no-refrence filter algorithm I'm searching for a an algorithm or an idea of implementation. I need to filter a signal in real time, and want to change the length of it (number of taps) in order to change the delay.


In low signal environment I want a high order filter and care less
about delay
In high signal environment I want a low order filter in order to
minimize the delay.


I've tried to search "variable length filter..." on google but all of the results were versions of the LMS algorithm, but I don't have a "clean noise" reference signal which I can use.

Have anyone heard of something like this?
Thanks :)
One possible implementation would be to run two (or more) different order filters in parallel, and use a mixer to blend them by ramping the gains up and down depending on your selection criteria.