< Back to IRCAM Forum

Spat5 VBAP: setting position via OSC without bundle?

We are trying to use Spat as an OSC controlled VBAP renderer. The OSC message for that seems to be /source/1/aed 0 0 1 describing azimuth, elevation and distance in one OSC message bundle. We are unsure if our UnityOSC library supports OSC message bundles. I’m trying to clarify this, currently.

But for a workaround, would it be possible to split the parameters into multiple messages like /source/1/a 0, /source/1/e 0 and /source/1/d 1? Could there be another workaround in case our library doesn’t support message bundles?

/source/1/aed 0 0 1 is not an OSC bundle. It’s a message with a list of arguments. It’s 99.9% sure your OSC library supports that kind of things. Otherwise find another library, because that would be a shame.

That said, you can also use the following messages :
/source/1/azim 0
/source/1/elev 0
/source/1/dist 1

See spat5.positions.maxhelp for further explanations.

1 Like

Thanks a lot for this!

What you mentioned about a list of arguments: Is that feature called OSC arguments on the official specification? http://opensoundcontrol.org/spec-1_0

1 Like

Yes. The specification refers to it as “a sequence of OSC arguments”.

Thanks a lot!
As it turned out, the library UnityOSC was able to send a list of arguments - it was literally a list.