The goal is to create an LTI filter which is exactly, or approximates, damping of harmonic modes.
The equation of course is:
$$\frac{d^2 x}{dt^2} + 2 \xi \omega \frac{dx}{dt}+\omega^2x=0$$
This can be done with very costly convolution, I suppose.
I was thinking that instead of treating the velocity term as a part of a time dependent potential (no longer time invariant), I can treat this as a two dimentional state and therefore eliminate second derivatives and have it a $z^{-1}$ feedback filter. It is working weird.
A continous alternative of something close is:
$$e^{-\xi t} \cos \omega t$$
How is this approximated efficiently?
Links are enough.