Skip to content

Conversation

pyandcpp-coder
Copy link

This PR adds the reference manual page and a common practices tutorial for the Leaky Integrator process.

@pyandcpp-coder pyandcpp-coder self-assigned this Jun 11, 2025

## Leaky Integrator

The **Leaky Integrator** process applies a smoothing algorithm to an input signal. It's particularly useful for reducing jitter from noisy sensors or creating smooth transitions in parameter values. The amount of smoothing can be controlled in real-time by adjusting the leak factor and the update frequency.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although this is not wrong, I would prefer something closer to Wiki's explanation. The main reason to use it, other than as a low-pass filter (with any order), is to use it as an accumulator, e.g., have a "measure" of accumulated energy from a given sensor.

@edumeneses
Copy link

On my local build, the added Puara Gestures documentation breaks the alphabetical order of the Processes. Do you know why is that @jcelerier and @pyandcpp-coder ?

Comment on lines +19 to +21
The **Leaky Integrator** process acts as an accumulator that builds up a value based on its input signal over time. Simultaneously, it gradually 'leaks' or decays, preventing the value from growing indefinitely and allowing it to fall back to zero when the input stops.

This behavior makes it ideal for measuring the 'energy' of a continuous gesture, such as a shake, or for creating smooth, organic-feeling transitions by filtering out noisy sensor data (acting as a low-pass filter). The `Leak Factor` directly controls the rate of this decay.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @edumeneses , the required description has been changed.

@pyandcpp-coder
Copy link
Author

pyandcpp-coder commented Jun 13, 2025

@edumeneses , I have changed the description let me know if any further changes.

@jcelerier
Copy link
Member

On my local build, the added Puara Gestures documentation breaks the alphabetical order of the Processes. Do you know why is that @jcelerier and @pyandcpp-coder ?

yes it's related to how the metadata is set, let me check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants