ExtensionVery similar to OnePole but can have different coef going upward or downward and also a sclang method. Useful for smoothing sensor data.
| in |
The signal to be filtered. |
| up |
Lag amount for increasing numbers. |
| down |
Lag amount for decreasing numbers. If nil then set to same as up. |
| up |
Lag amount for increasing numbers. |
| down |
Lag amount for decreasing numbers. If nil then set to same as up. |
| in |
The values to be filtered. |
Set or get the amount of lag when using the slide method.