Hi guys, I'm sending osc messages from grasshopper3d, PD is receiving the messages, and printing, but I'm still without see the numbers on pd patch, so i cant used them.. Any help?
-
OSC receiver doesn't work
-
@lgarcial I have never seen [dumpOSC] complain about the message address before.
And the float number arriving is not formatted as a float or a symbol.
So the incoming message from Grasshopper 3D is not in the correct OSC format.
It looks as though the header and the float have been formatted as a string.Would you please close your patch and make a new one containing the object [netreceive 6000 1] connected to a [print] and then post an example of the messages printed to the terminal when Grasshopper 3D is sending OSC.....
You might also be lucky if you try using [netreceive -u -b] and [oscparse] ...... (both in later versions of Pd Vanilla though)..... but I doubt it......
David. -
As far as I can see, it's handling the [OSCroute /mouse] correctly -- otherwise the print wouldn't fire.
But it is sending the number as a string, which is a baffling choice by the grasshopper designers (maybe a bug on their side).
You might try [OSCroute /mouse] --> [fudiformat] --> [fudiparse] ...? Though my memory is fuzzy on that. I think that can convert number-as-string to a proper number. (Though I don't understand the single quotes in the printed error output either... so this might not do it.)
hjh
-
@ddw_music Yes...... the single quote is strange.
I have seen it when using [rawprint] rather than [print] in extended..... but I cannot remember its significance....... and I have no time to look into it for a few days now..
If the op posts the raw message from [netreceive] then it will be easier to understand.
David.