mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-09 09:19:58 +01:00
Updated Open Sound Control API (markdown)
@@ -215,15 +215,11 @@ To add a translation, you should enter an `<osc>` XML node containing 2 nodes: `
|
||||
<to> [ translation ] </to>
|
||||
</osc>
|
||||
|
||||
> Example: Download and install LittleOSC ([Android](https://play.google.com/store/apps/details?id=net.aikelab.littleosc), [iOS](https://apps.apple.com/be/app/littleosc/id1073616352) ). Run it and set the IP Address and Port to target vimix host.
|
||||
> Example 1: Download and install LittleOSC ([Android](https://play.google.com/store/apps/details?id=net.aikelab.littleosc)). Run it and set the IP Address and Port to target vimix host.
|
||||
> LittleOSC can only send the pre-defined OSC messages `/1/push1`, `/1/push2`, `/1/push3`, and `/1/push4` when one of its button is pressed.
|
||||
> With the translation below, vimix will show/hide the sources 0 to 3 when pressing a button on LittleOSC.
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--The OSC translator converts OSC address patterns into other ones.
|
||||
Complete the dictionnary by adding as many <osc> translations as you want.
|
||||
Each <osc> should contain a <from> pattern to translate into a <to> pattern.
|
||||
More at https://github.com/brunoherbelin/vimix/wiki/Open-Sound-Control-API.-->
|
||||
<osc>
|
||||
<from>/1/push1</from>
|
||||
<to>/vimix/0/alpha</to>
|
||||
@@ -241,6 +237,27 @@ To add a translation, you should enter an `<osc>` XML node containing 2 nodes: `
|
||||
<to>/vimix/3/alpha</to>
|
||||
</osc>
|
||||
|
||||
> Example 2: Download and install [MIEM Play](https://miem.laras.be/controller/) ([Android](https://play.google.com/store/apps/details?id=com.gwendallv.miemcontroller), [iOS](https://apps.apple.com/fr/app/miem-play/id1451086567)). Run it and set the IP Address and Port to target __vimix__ host.
|
||||
> Using the default session configuration of the app, the following translations will allow controlling source 0 to 3 in __vimix__.
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<osc>
|
||||
<from>/miem/1</from>
|
||||
<to>/vimix/0/alpha</to>
|
||||
</osc>
|
||||
<osc>
|
||||
<from>/miem/2</from>
|
||||
<to>/vimix/1/alpha</to>
|
||||
</osc>
|
||||
<osc>
|
||||
<from>/miem/3</from>
|
||||
<to>/vimix/2/alpha</to>
|
||||
</osc>
|
||||
<osc>
|
||||
<from>/miem/4</from>
|
||||
<to>/vimix/3/alpha</to>
|
||||
</osc>
|
||||
|
||||
|
||||
***
|
||||
|
||||
|
||||
Reference in New Issue
Block a user