In this Max/MSP patch we have implemented a range of real-time IIR filters applicable for motion controllers, more specifically, low-pass filters and low-pass differentiators of degree 1 and 2. The latter can be used to extract velocity and acceleration data directly from position data. All filters have a group delay of 2 samples or less and have better low-delay performance than what currently established filter design methods can create. See [1] or the project page for more information.
[1] Skogstad, S. et al., Filtering Motion Capture Data for Real-Time Applications, In proceedings of NIME (2013)