NodeOSC for controlling nodes via OpenSoundControl

Thank you for your patience Maybites. I’ll record a video on each install. This is easier and quicker.
Also, is it possible you try to connect using TouchOSC from Hexler app for Android?https://play.google.com/store/apps/details?id=net.hexler.touchosc_a

And make it work with NodesOSC?
Thanks.

Here’s the procedure:
https://streamable.com/nob5q
The console is shown in the video.

please watch the tutorial and read the manual and then come back to me with specific questions.

I tested NodeOSC with TouchOSC and it works.

Hello, thanks for such a nice add on, everything works fine, i tested animation nodes and the option to get list of OSC is very nice and powerful.
Im only having some problems with sorcar, i tested all the versions that works with blender 2.80 but the nodes doesnt appear in the list.
how can i get the sorcar nodes works? i really would like to test it soon.

Hi maybites, any news regarding to sorcar? there is a tested version with i can use NodeOSC?
Thanks

NodeOSC should work with Sorcar 3.1.4. At least it does so on OSX 10.15.2. with blender 2.82.

The NodeOSC-nodes should appear inside the node menu > add > osc

the repository has a blend file inside the folder ‘help’ that has three sorcar nodes inside the NodeTree.

hi maybites thanks for your answer, im checking sorcar 3.1.4 and blender 2.83 in windows 10. and nodes doesnt appear in the list, just downloading 2.82 to check,
everything works fine in 2.83,AN nodes are really great, checked with a list of 50 values and works so fast, but in sorcar node list doesnt update with osc nodes.
Any idea_?
blender 2.82 in windows 64 bit checked too, sorcar nodes doesnt appear in the list… the rest works perfect
what a pity…

I will have a look at it some time. I am super busy right now with other stuff.

can you try shift-a and see if the osc nodes appear this way? Any messages in the console?

I pushed a bug fix release that should fix the issues with the sorcar nodes. please give it a spinn.

1 Like

Hi @maybites, thank you for this great addon!
Apologies if I’m missing something very basic, but I’m struggling to get the OSC messages relayed from NodeOSC to Animation Nodes. I’ve attached an image of my (very basic) setup: NodeOSC is receiving the messages from my device just fine, they’re updating in realtime, and I have “Auto Execution” and “Property Changed” both checked in the AN properties panel, but the values aren’t being reflected in the nodes. Also, I have the latest release of NodeOSC installed on Blender 2.80. What should I be doing differently?
Thank you for your help!

everything looks good. try stopping and starting the server again. the fact that monitoring shows the osc message means that there is no address handler (a node) listening to this address. otherwise check the console and see if there are any error messages.

Thanks for the help, I figured out the problem! I think it had to do with which ports were being used. It started working after a restart.
Unfortunately, I seem to be having a different problem now: getting the addon installed on a Macbook (my work computer). It throws an error when the the box is checked to enable the addon. Here’s what I’ve done:

  • started with a fresh install of blender 2.82
  • downloaded the latest release of NodeOSC
  • put it in the addons folder
  • found the addon in preferences > addons
  • checked the box to enable it
  • got the error message (image attached)

I got the exact same error with a fresh install of blender 2.80, and in both cases I successfully installed and enabled a different addon (Animation Nodes) to confirm that the problem wasn’t with all addons. I also tried installing the addon from the ZIP, to the exact same effect. I’m using macOS Mojave 10.14.6 on a macbook pro.

Any ideas for what might be happening here?
Thank you again for your help!

you are doing nothing wrong here. Its my mistake, the pyliblo library is not complete within the addon, and I didn’t realize it because I only tested the addon on my development machine, where the liblo library is installed.
I will investigate and see what can be done about this…

for the time beeing: install homebrew -> https://brew.sh/

once installed, in the terminal type

brew install liblo

once liblo is installed on your machine, the addon should work.

2 Likes

Hi Maybites,

Congrats on the NodeOSC! Wow I have to catch up~

Ok, so far I did manage to make the addon running and indeed I need to brew install liblo, but if I use Liblo, it says it refuses to take unknown message, so I turn it off.

I tested with TouchOSC from iPad, and it is working so far for the basic of moving objects, scaling transform, and I can even keyframe the animation realtime on the fly, which is cool!

Now, I am trying to send messages from Animation Nodes for this basic example to play sound on SonicPi:

Not getting any sound so far. Wonder what I did wrong.

1 Like

I can’t help you with Sonic Pi, but you actually showed me a bug in NodeOSC. I pushed a new release that allows now to read DoubeList data from the AnimationNode, which previously caused a warning and wasn’t accepted to be send.

AND: can you send me the error messages you get when trying to use pyliblo?

I’ll check and see of what can and cannot be sent from SonicPi, it seems most interesting to make Blender talk to SonicPi, as it makes sound etc. Good way to test if works.

TouchOSC works really well and it become super easy to setup some interactive control for Animation Nodes!

The error message with Pyliblo: How to know which one is known and unknown and also no longer getting value monitored if this is on.

1 Like

Amazed at this NodeOSC, it unlocks a lot of thing! The latest update actually works now I can send message from Animation Nodes into Sonic Pi : )

https://twitter.com/jimmygunawanapp/status/1235733605093007360?s=20

Will look forward for your video tutorial part 2 and more!

1 Like

Hi JP, in case like multiple value stream per message like the Face Cap example, how to specify this in Animation Nodes? I cannot get it to work with Quaternion, XYZ, etc. Blendshape one is also seems tricky.

http://www.bannaflak.com/face-cap/livemode.html

UPDATE:

Ok apparently I need to Stop and Start if I make changes to the node. So that’s one important key. I did manage to get position, rotation head, eye is a bit strange.

But blendshape one is tricky, any tips on handling this OSC message?

Blendshape parameters : /W + 1 Int + 1 Float (blendshape index, value)

I did try and seems to be the wrong way to handle this…

NodeOSC_FaceApp_006.blend.zip (694.2 KB)

you could use two nodes, each passes on a different osc argument:

read here how to set the arg[index]: https://github.com/maybites/blender.NodeOSC/wiki/AN_OSCNumber

(0) for the blendshape index
(1) for the value

1 Like