From 7d121accdfc217ac2915653ec80bb7d396f9a029 Mon Sep 17 00:00:00 2001 From: BHBN <60393189+brunoherbelin@users.noreply.github.com> Date: Wed, 17 Aug 2022 19:14:34 +0200 Subject: [PATCH] Updated Open Sound Control API (markdown) --- Open-Sound-Control-API.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Open-Sound-Control-API.md b/Open-Sound-Control-API.md index d0b113b..6ee0f1c 100644 --- a/Open-Sound-Control-API.md +++ b/Open-Sound-Control-API.md @@ -108,10 +108,14 @@ 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 decide to lock ( > 0.5) or unlock (<0.5) the source. > Example; send `/vimix/current/lock f 0.0` to unlock the current source. -**`seek` : Set target time of a video (Media source only)** +**`seek` : Set target position in a video (Media source only)** > _Mandatory argument_ : the value sets the target time to seek to in a video. If the source cannot seek, nothing happens. -> Example; send `/vimix/current/seek f 2.0` to seek to frame at t=2.0s in the video. +> Example; send `/vimix/current/seek f 0.5` to seek to frame at t=50% of the video duration. + +**`sync` : Request [synchronization status bundle of Sources](https://github.com/brunoherbelin/vimix/wiki/Open-Sound-Control-API#status-bundle-of-all-sources)** + +> Example; send `/vimix/0/sync` to request response bundle status of source 0. Works with source name and id. ***