Announcement

Collapse
No announcement yet.

[Feature Request] OSC, MIDI, and Syphon

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    I just published the first version of UE4OSC. It is a free, open-source plugin that allows Unreal Engine 4 to communicate send and receive OSC messages.

    It has a page on the Unreal Engine Wiki, and is on GitHub.
    https://wiki.unrealengine.com/Ue4osc
    https://github.com/zachrkn/UE4OSC

    It is has basic functionality at this point in time, but I will continue to expand it based on my own process and any feature requests I get.

    Comment


      #17
      Hope Epic won't drop Midi. I have some projects in plan, that require connecting my midi keyboard to PC.

      Comment


        #18
        I released my OSC plugin here:
        https://github.com/monsieurgustav/UE4-OSC

        It receives and sends OSC messages in Blueprints. It manages float, integer, bool and string parameters.

        Right now, you must compile it yourself though...

        Comment


          #19
          Originally posted by monsieurgustav View Post
          I released my OSC plugin here:
          https://github.com/monsieurgustav/UE4-OSC

          It receives and sends OSC messages in Blueprints. It manages float, integer, bool and string parameters.

          Right now, you must compile it yourself though...
          Hi Monsieurgustav. This is great!!! Could you please give us a little rundown on how to compile it?

          Thanks a lot!

          Comment


            #20
            ok i was able to compile it

            can you please post a sample blueprint

            thanks!

            Comment


              #21
              Hi !
              Compiling should not be a problem:
              - copy the files in a the Plugins folder of your project,
              - click File/Refresh project files from the Editor,
              - build and run from VS 2013.

              Do not hesitate to tell me if it was more complicated than that!


              I will post an example tonight.
              In the mean time:
              - to receive messages, add a OscReceiverComponent to your class blueprint (in the Components tab),
              select it in the blueprint graph view and add the OnOscReceived event (should be in the contextual list).
              use PopFloat/String/etc. functions to get the message parameters.
              - to send messages, build a parameters list using PushFloat/String/etc.
              use the SendOsc function to actually send it.

              I'll add usage examples and some functionality very soon.

              Cheers

              Comment


                #22
                Hi monsieurgustav

                Thank you for the fast reply

                yes it was not so hard to recompile (I did not have VS set up and/or using the github source... but it was fairly straightforward)
                but i actually put your code in the plugins folder inside the engine... it compile without errors

                in terms of the blueprint. i think i did the same steps you described... but i did not get it to work... yes if you could post some examples/pics that would be great

                Thanks so much!

                Comment


                  #23
                  I pushed some examples and a new OSC receiver actor class.
                  Depending on your design, you may use either a receiver component (and add it to many actors) or a receiver actor (create a few class blueprint based on it for specific usage).
                  I plan to add the multicast feature and some others soon.

                  Tell me if you work it out !
                  (do not forget to look at the plugin settings as well, in "Edit/Project Settings/OSC")


                  ps: To build the plugin, you don't really need to compile the engine sources. (you do need VS 2013 though, or XCode)
                  On any Unreal project (from the shipped Editor): if you do not have VS2013 project in the project root folder, you can just add a dummy class from "File/AddCodeToProject". It creates some files to disk.
                  Then, create a "Plugins" folder in the project root, and copy the OSC plugin folder into it.
                  From the Unreal Editor, click on "File/Refresh Visual Studio Project", now the VS2013 project contains the plugin sources.
                  Build and run from VS2013, and that's it !

                  pps: It would be nice to have a VS2013 project from the very beginning... if someone knows how to create it without the "AddCodeToProject" trick, I'm listening !

                  Comment


                    #24
                    Thanks very much for the OSC plugin. I got it working in the editor although I don't think I compiled anything, and I don't see the latest stuff you mentioned pushing in the above post (e.g. examples).

                    I'm sure I'll have more to say once I've had time to use it a bit more.

                    Cheers.

                    Comment


                      #25
                      Hey monsieurgustav, i got it to work but i am getting constant crashes with these errors

                      !Id:c2b97128bef3ccbca5e65223d98d658c

                      Access violation - code c0000005 (first/second chance not available)

                      Fatal error!

                      UE4Editor_OSC!FUdpSocketReceiver::Run() + 131 bytes [c:\program files\unreal engine\4.4\engine\source\runtime\networking\public\common\udpsocketreceiver.h:93]
                      UE4Editor_Core + 3091622 bytes
                      UE4Editor_Core + 3064429 bytes
                      kernel32 + 88557 bytes
                      ntdll + 181569 bytes

                      any ideas?

                      Comment


                        #26
                        Hi !
                        I ran into the same issue...
                        I just pushed a fix, hope that will help !
                        Cheers

                        Comment


                          #27
                          hey Gustav< i will check it out. Also I not seem to get the filter to work... all OSC messages affect everything even if i add the correct address e.i "/parametric" to the component. any ideas on this
                          but it works great otherwise


                          Thanks

                          Comment


                            #28
                            Hum... address filtering is not yet implemented actually!
                            Coming soon! (in the mean time, you can filter using blueprint nodes, as the received address is an event output)

                            Happy to know you're using it!

                            Comment


                              #29
                              cool thanks monsieurgustav!
                              Yes i am using it for a performance tomorrow! yeah!
                              ok i see how i can filter using that output
                              cheers

                              pD. I just tested it, recompiled the new version and it works great with that event output and a switch!
                              Yes!!

                              Comment


                                #30
                                Yes man your update is solid, i performed with it last night and it was great, basically sending amplitude data from ableton live via osc. Rock solid!
                                So one question
                                How difficult is to keep this plugin up to date? 4.5 is coming up and maybe if it is not so difficult i could help maintain it.
                                Thanks again monsieurgustav.

                                Comment

                                Working...
                                X