Giter VIP home page Giter VIP logo

Comments (6)

jorgegarcia avatar jorgegarcia commented on August 15, 2024 1

Hi @Schroedingers-Cat,

Please see section 3 (usage) from the manual. You can send ranges of values in the same OSC address with UnityOSC:

https://github.com/jorgegarcia/UnityOSC/blob/master/docs/UnityOSC_manual.pdf

Hope it helps!

Jorge

from unityosc.

jorgegarcia avatar jorgegarcia commented on August 15, 2024

Hi @davemod,

Please check the tests/oscControl.cs example script from the repository. From there you can read OSC Bundles as OSC Messages with the following:

UnityOSC.OSCMessage m = item.Value.packets[lastPacketIndex].Data[0] as UnityOSC.OSCMessage;
string address = m.Address;

Hope it helps!

Cheers,
Jorge

from unityosc.

Schroedingers-Cat avatar Schroedingers-Cat commented on August 15, 2024

Hi @jorgegarcia,

related to this issue, is it possible to send an OscBundle with UnityOSC? If yes, do you have an example for this?

from unityosc.

jorgegarcia avatar jorgegarcia commented on August 15, 2024

Hi @Schroedingers-Cat,

As far as I can see (and remember now) the OSC bundle packing is not implemented in this library, sorry. See below:

override public void Pack()

Best,
Jorge

from unityosc.

Schroedingers-Cat avatar Schroedingers-Cat commented on August 15, 2024

Thanks for the reply!

It turned out that OSC Bundles wasn't what I needed. I want to send a message with a list of arguments like this /source/1/aed 0 0 1. I'm currently unsure how this feature is called in the OSC spec - but does this library support sending consecutive arguments in a message?

from unityosc.

Schroedingers-Cat avatar Schroedingers-Cat commented on August 15, 2024

Thanks, this is working great!

from unityosc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.