Updated Open Sound Control API (markdown)

BHBN
2021-12-28 15:11:38 +01:00
parent b89e2cdb27
commit bf94fad713

@@ -88,6 +88,11 @@ When the target is able to identify a source by its name, by its index, or as th
> _Mandatory argument_ : the value is used to set the source depth, its position in the Layers View between 0.0 (back) and 12.0 (front).
> Example; send `/vimix/current/depth f 6.0` to set source depth to 6.0 (middle of the workspace).
**`lock` : Lock/unlock the source**
> _Mandatory argument_ : the value is used to decide to lock ( > 0.5) or unlock (<0.5) the source.
> Example; send `/vimix/current/lock f 0.0` to unlock the current source.
***
@@ -324,6 +329,7 @@ A second bundle is sent with several attributes giving the status of the source
> The bundle of message looks like this:
/vimix/current/name s { string name of source }
/vimix/current/lock f { 1.0 if locked, 0.0 otherwise }
/vimix/current/play f { 1.0 if playing, 0.0 otherwise }
/vimix/current/depth f { depth value }
/vimix/current/alpha f { alpha value }