hi,
this is my 1st time of trying OSC & couldn't figure out how to send the data or event inside the [unpack] messages. check out the .pd attached on how should i send those messages.
thanks...
-
OSCroute to unpack?
-
Well, so long as you have a list of 5 floats following the /event then it should work. Otherwise you probably want [route] or even better [OSCroute] to filter off the address.
Use the Source.
-
Yes, but how to send or distribute those data to the right object as it changes the value when I pick different controller. For example, I could connect those data to a vertical slider. But how about the other controller like the buttons, horizontal sliders & x/y pointer? What kinda of connections should I use? Thanks Obiwannabe
Rephrase;
How to send those unpack lists value to a toggle or sliders?
e.g. list value are;
2061 0 0 1 0 1---->toggleOn
2061 0 0 1 0 0 ---> toggleOff
2061 0 10 2 0 x--->slider while 'x' value changes when i slide it. -
I'm not sure if I follow you, but it seems one of the values is a controller ID and the other is a value.
So you would need to mask the values with the controller. Use [==] to make the ID comparison and a [spigot] to pass or block the value stream. Does that make sense? Try and provide more data examples if not.
a.Use the Source.
-
thanks for the reply obiwannabe. attach is the .pd file & some description on what i would like to achieve. basically, i wanted my remote controller to use as a controller for pd buttons, sliders & x/y pads. then maybe i could patch it later to midi.
-
Something like this maybe.
I can't tell without having the iphone there to test the data properly.
It seems you have variable length packets, which screws things up a bit
Research a bit about logical masking
a.
Use the Source.
-
hanks, will let you know how it goes. at the first glance, i don't need to change the first 2 data of the headers dev id & page as that is constant. thanks obiwannabe...