I'm sending OSC from an audio app (Live in this case) to a visuals app. The control parameters changes at high rate for the audio modulation. The visuals app doesn't care. It needs the updated value only at say 25fps.
So I have my messages streaming into OpenSoundControl and bang it every 40ms. But between two bangs, the object might have received 30 or more of the same messages with different values, and sends all of them when the bang hits. So where I needed it to only to send the most recent value, I'm wasting bandwidth, and possibly cpu cycles on the receiving side where the messages are processed. For one messages this might not be such a big deal, but I imagine it becomes quite a mess when trying to do this with lots of parameters.
This seems like a really common problem, but I can't find any solution to it. The OpenSoundControl doesn't seem to have such a filter built in. A solution I can imagine is having a message buffer in front of OpenSoundControl which only stores one value for each unique OSC message string. Then bang that object to output and reset its state just before banging OpenSoundControl.
Does such an object exist, or is there a different solution? This seems like such a common problem.