First time here? Check out the FAQ!
x

Max<>Paca OSC value ranges

+1 vote
76 views
Hi all,

I have been experimenting with OSC udp communication between Max and my Paca.
I manage to get Max floats to the VCS and a response back.

What I would like to know is whether the floats coming back from the Paca are always the fader position scaled between 0. and 1., or is there a way to send floats from the Paca that are not scaled between 0. and 1.?

The solution I can see now is using the "minimum" and "maximum" values from the VCS Widget Description, send by the Paca in response to the "/osc/widget,i" request, to scale the 0.-1. range back to the VCS value in Max. But that would involve quite some initialisation communication.

Many thanks,
David
asked Dec 12, 2017 in Controllers, OSC & MIDI by david-kiers (130 points)

1 Answer

+1 vote
Hi David,

Yes, the input and output range for OSC values is [0,1].

You can use the VCS min/max/grid settings to scale those values inside Kyma. But what you send and receive is always in the range of [0,1].

To send & receive values outside that range, you can use the new(ish)

/osc/receive_raw, i

where i = 1 sets RAW mode and i = 0 toggles out of the RAW mode.

In RAW mode, you can send and receive arbitrary values, outside the range of [0,1].
answered Dec 12, 2017 by ssc (Savant) (68,670 points)
Thanks! the "/osc/receive_raw 1" did the trick.

Now I'm struggling with the VCS faders only sending a value on mouse up and the moving SoundToGlobal Parameter OSC fader freezing when I move another fader.

Are there workarounds for those behaviors?

All the best,

David
If you position the cursor over a fader and scroll (without a mouse-down) then the faders are continuously updating.
Also, if you use an external controller (like Kyma Control on the iPad), the fader values update more often.
...