JPfeP / AddOSC

OSC support for Blender

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple OSC Message

enzyme69 opened this issue · comments

Hi JP,

Glad I found your AddOSC addon while I am on it. Sometimes the OSC message comes in as multiple stream (like 3 floats), how do we separate it?

For example, TouchOSC:

/accxyz
/accxyz_1
/accxyz_2
/accxyz_3

accxyz sends 3 floating value in. But how to separate these value so that we can assign one each for every attribute in keying set?

commented

The next version will support this kind of message. I will have to work on 2 aspects to fullfill this goal. First, on the engine level, then on how to expose this thru the user interface. The later is a little less obvious. But, since the case happens only rarely, may be it would be enough to let the user to achieve this with some simple scripting as I did with the OSC BGE module.

I am curious on how the message can be seen coming as multiple messages in.

Ideally I would wish it work with Animation Nodes via Script Nodes at
least. Or Sverchok.

In the last message, I can see message comes in as "float float float", I
tried making prop that does it "string string string" but does not work.

Is there a backdoor way to see the data? Or a quick way to delete data
message? So far I use Keying Set. It is really handy though.

Love this Add On exactly what I need right now :)

On Sunday, 18 September 2016, JPfeP notifications@github.com wrote:

The next version will support this kind of message. I will have to work on
2 aspects to fullfill this goal. First, on the engine level, then on how to
expose this thru the user interface. The later is a little less obvious.
But, since the case happens only rarely, may be it would be enough to let
the user to achieve this with some simple scripting as I did with the OSC
BGE module.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADxQL1iQ7QMU5x6HqPdxkMfwdxsCdvAXks5qrFySgaJpZM4J_keE
.


commented

The last version offers a quick solution to this problem, in receiving mode at the moment, with an index to pick the needed item in the list. Just define as many properties in Blender to dispatch all the items to them with a different index each time.

Later I want that the user can define a list property and get all the items at once.

In Animation Nodes you can access any property already, and later list properties should work as well.

Great, will try real soon! 👍