I need to 'smooth' OSC input data without introducing any latency , ie remove spikes. The only strategy I can think of is to store the preceding sample, compare with the current and if the current is different from the previous by more than some 'delta' value, then ignore it. Although I'm using Actionscript, the same principles should apply regardless.
Can anyone suggest any alternative strategies?