RobTillaart / MINMAX

Arduino library to find peaks in a signal
MIT License
8 stars 0 forks source link

Auto damping of min and max #11

Closed RobTillaart closed 1 month ago

RobTillaart commented 2 months ago

Decrease the delta between MIN and MAX

Like peak level on digi VU meters. First decrease then check for new values.

RobTillaart commented 1 month ago

every add() minus fixed value?

This is relative easiest as one can add / subtract this fixed value. Good enough for first version as there can be a zillion curves be defined.

every add() minus x%

Math intensive, and one of the zillion possible curves.

time since last add() based minus?

Could be interesting, more math needed, so maybe later.