timwessman's picture

@timwessman

timwessman's picture

Yessss...Thanks a lot!! Now it works.

Its great that there is possibility to code with Vuo Framework. Sometimes its much easier and more efficient to write some code than draw thousands of virtual wires.

(rebooting Vuo editor and reloading project after every code change is anoying, but I hope it will be fixed someday)

timwessman's picture

How to make an OscMessage with vuo.framework?

I have tried now for some time to make an OscMessage with vuo.framework but could not succeed. It would be nice to see any working example.

I have tried VuoOscMessage_make(), VuoOscMessage_makeFromJson(), VuoOscMessage_makeFromString()

Here is my simple test code to create message {"address":"/foo", "data":[1.23]}:

timwessman's picture

I changed Make OSC Output -node to Make OSC IP Output -node, to send only to localhost (127.0.0.1). Now OSC messages are sent only once.

Help of Make OSC Output -node says that it sends messages to all devices. I made List OSC Devices -node to see what are those all devices, at least for me Vuo shows two devices when only my VuoOscOutBug3.vuo composition is running.

Vuo OSC Clientreceiving from 192.168.56.1 port 4444 Vuo OSC Clientreceiving from 172.16.130.216 port 4444

Is this because of some loop in my network, maybe? Anyway I'm now happy that I can use Make OSC IP Output -node with localhost to solve my problem and send only single messages

timwessman's picture

Very interesting...thanks for testing this.

I made now a new version of my test composition to have also Receive OSC Message and Display Console Window. If I reboot my machine and run only this application I get same result (every message 3 times). Maybe some part of my network is echoing traffic in general (not OSC related thing?). ...so I tested to turn of wifi, voila, now I get messages echoed only twice (so some improvement).

I will test this with different machines and let you know if I find something. Thanks, you helped me forward with this one.

timwessman's picture

Vuo sends all OSC out messages 3 times.

Status: 

Vuo version: 

OS version: 

  • Mac OS 10.11

How severely does this bug affect you?: 

●●○○ — It's annoying but I can work around it.

Steps causing the bug to occur: 

  1. Create any minimal setup to send OSC messages with Vuo (my example composition is attached)
  2. Open some other application to see what messages Vuo sends (I have tested with Osculator and with VDMX)
  3. All messages sent from Vuo comes 3 times to receiving application

Have you found a workaround?: 

No

Other notes: 

You can see from my screenshot, there is minimal example composition which sends one number to OSC output when screen is clicked. (There is input console of Osculator open, which shows all incoming OSC messages with time stamps. So all numbers coming from Vuo, comes 3 times with almost same time stamp. (So, before that screenshot I have clicked 3 times, but 9 messages have been sent). I have tested same with VDMX and with couple of much more complex OSC out compositions, but now I just narrowed this down to find a reason why my OSC "bus" is so full of messages.

This is annoying, but I don't know how to work around it. I have problem with too much OSC traffic which makes, my OSC receiving VDMX behave less responsive, so fixing this bug would cut the traffic to third.

Screenshots: 

Compositions: 

AttachmentSize
Binary Data VuoOscOutBug.vuo4.14 KB

Pages