So I see these twice also:
ADDRESS(/KNOB/SetValue) FLOAT(0)
ADDRESS(/KNOBName) STRING()
It looks like the first one is received as a state before the actual switch occurs and the second one is received as a state after the switch.
I don’t know why LABEL would have any messages.
Hmm… OK. Thanks! So it’s not my settings.
My problem is that I’m obviously synchronizing too many widgets via OSC. Touch OSC sometimes doesn’t update all of them when changing rackspaces, even though all the events are sent out.
Then I saw that many events are duplicates, and some are unnecessary—but that’s just how GP is, and I can’t prevent it.
It doesn’t have a message - it has an argument which is the default caption “New Label”) when created.
That sounds like a bug - please report it
Yeah, they’re coming from different places — and it may depend on what’s going on. Also, bits of this are for legacy compatibility. We put quite a few items inside bundles as those guarantee that everything (or nothing if the packet is dropped) gets seen but didn’t want to risk breaking stuff for people who weren’t handling bundles.
Thanks a lot for your explanation! I’m still not entirely sure how that relates to the two OSC messages being sent twice during a rackspace switch – meaning both at the beginning and at the end.
Could you maybe clarify that a bit more?
As long as the values are correct, I’m not sure what is the actual concern. I suspect though that this particular duplication because the info is sent out when the rackspace is activated and then again when the variation is activated. Would have to look at the code to see exactly what’s going on.
I’m using TouchOSC to keep more than 100 widgets in sync, and generally, this works quite well. However, I’ve noticed that when switching rackspaces, some values occasionally fail to update on TouchOSC.
My suspicion is that TouchOSC can’t keep up when too many OSC events are sent at once.
I’ve already excluded some non-essential widgets from sending OSC, which has improved reliability — but not completely.
If a) OSC messages from labels where OSC is not enabled were omitted, and b) the duplicate messages from knob widgets were avoided, that would eliminate more than half of the OSC events. I believe this would make synchronization with TouchOSC significantly more reliable.
They you should report that to Hexler — they should be able to buffer all incoming messages separately from processing them and a few hundred UDP messages should be a big nothing.
That sounds like a bug - if you haven’t given a label an OSC handle, it shouldn’t be sending anything out - please report that through our ticket system.
Are you running it on a different computer or on an iPad/Android tablet? If so, there’s also always the risk that some UDP packets will be dropped - the UDP protocol does not guarantee delivery.