Comments (6)
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.
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.
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.
As far as I can see (and remember now) the OSC bundle packing is not implemented in this library, sorry. See below:
Line 67 in 237c15c
Best,
Jorge
from unityosc.
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.
Thanks, this is working great!
from unityosc.
Related Issues (20)
- Not working on Android HOT 4
- Timing Problem/Question (Packet loss?) HOT 1
- Too big latency when Recieving high rate OSC message. HOT 2
- Doesn't work on UWP (HoloLens) HOT 3
- Client Doesn't Exist HOT 1
- Performance issues HOT 1
- OSCHandler GameObjects continue instantiating without being destroyed HOT 6
- Client doesn't exist HOT 5
- Send / Receive extended ASCII strings HOT 1
- Can't receive multibyte characters? HOT 1
- How to "message.add"? HOT 2
- Comparing OSC Message HOT 1
- Receiving from external IP HOT 1
- Assets/OSCHandler.cs(96,23): error CS0619: UnityEngine.Network' is obsolete HOT 1
- MIDI HOT 1
- Assets/Editor/OSCHelper.cs(41,29): error CS0246: The type or namespace name `ClientLog' could not be found. Are you missing an assembly reference? HOT 1
- impossible to tell if you have received a new message HOT 12
- Can't debug Data from Log. HOT 3
- value.GetType() use causes AOT compile issues on iOS HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unityosc.