No announcement yet.

Simple OSC Output/Input Examples (4.23.1)

  • Filter
  • Time
  • Show
Clear All
new posts

    Simple OSC Output/Input Examples (4.23.1)

    For anyone interested here are four simple OSC output patches using the new 4.23.1 beta OSC Blueprints.

    Sending simple OSC messages:

    Receiving simple OSC messages:

    Sending bundles of messages:

    Parsing out 2 different namespaces for incoming messages:

    Note: In the receiving example, OSC is being sent from another computer, hence the "AddWhitelistedClient" node. That IP could also have been added in the CreateOSCServer node. Also, these are just trial/error working versions so far, not sure if they're ideal examples.

    p.s Thanks Aaron, Ethan, Arthur and team! Built-in OSC!!
    Last edited by FatherPlatypus; 11-10-2019, 06:03 PM.

    Thanks guys!


      Hi Rob, I'm trying to re-create your Receiving example, but I'm new to blueprints and having some problems understanding:

      - what is the variable type used for your Received OSCMessage variable and your My OSC Server variable?
      - I see that with the OSC plugin there a few new OSC variable types available, I assume [ Recieved OSCMessage ] uses this but not sure about the OSC server, OSCAddress?

      - what is connecting to and triggering the [ Custom Event OSCMessageReceived ] node?

      - I never tried to make a custom event before, I was able to sort of recreate yours but I don't know how yours has a message variable input, mine just has target, is yours a specific OSC event dispatcher type?

      Click image for larger version

Name:	OSC_Help.png
Views:	558
Size:	79.3 KB
ID:	1696750



        1. Right Click and Create Custom Event - give it a name (eg OSCMessage_Event)

        2. Drag the Red output from the OSCMessage_Event object onto the Red Event input on the Bind Event object

        3. Right click on the OSCMessage_Event object and Refresh Nodes

        4. A Blue message output should appear on the OSCMessage_Event object

        5. Right click on the Blue output on the OSCMessage_Event object and choose 'promote to variable' - this creates a SET new variable (of type OSC Message)

        6. You can then re-name this new variable to something (eg Received OSCMessage)


          For anyone who is struggling to get this to work, on a local connection you have to set the receive IP address to 127.0.01, leaving it blank won't. Also make sure to check 'start listening'.


            Cool, thanks for doing this. Looking forward to my next project


              Hi! I use OSC quite often for my projects but have up til now used Monseur Gustav's plugin (I made the youtube how-to video). I'm quite keen to use Epic's implementation as it seems it should be more supported and possibly more stable. I've been trying to make a component based message handler but have found a few issues:

              1 - Leaving blank address or '0' doesn't work - or even I have to actually put my PC's ip address in. My machine does have 2 ip addresses though as I have a direct connection to my NAS. It may be trying to set this address as local. Not very robust IP setting if that's the problem.

              2 - Crashing - I'm using Lemur to send in commands but it causes random crashes after a short amount of time. I don't know if this is just due to the number of RX messages coming in or if it's because i'm using a component and should be using a normal actor - I don't think this should really affect things though.

              3 - How does the client setup work? Surely you still need to be able to bind events to messages coming in? Is it just a buffer that fills up that you empty as you go?



                I don't realy understand becouse i'm a total noob, i gues i need someone to make a full stel by step guide **dannington** **cough** **cough**


                  Originally posted by DrunkenPanda View Post
                  I don't realy understand becouse i'm a total noob, i gues i need someone to make a full stel by step guide **dannington** **cough** **cough**
                  First you need to take a course on Chuck I think it is free if you don't need certificate, it is fun if you have a time.
                  Than you need to find some patience and take a look at this here is explaning about dispatcher which are using here.
                  Than I think rest you figure out youself.


                    Since i know openframeworks and processing i don't think i need the course.
                    i watched the explanation of the node system. watch it at 1.5 speed tho or die of waiting. I have a better grasp now and i'l try again later this weekend.
                    i'd like to know how to just do it in code tho.
                    i dont understand the .ck file extention i thought unreal ws all c++ and i dont understand how to propperly ad it and use the output in other files or nodes.