osc-listeners: add support for relative address prefixed with the widget's address (#438)

This commit is contained in:
jean-emmanuel 2018-12-29 10:16:13 +01:00
parent 4ae20437ce
commit 5cd3e0028b
4 changed files with 38 additions and 6 deletions

View file

@ -56,8 +56,17 @@ OSC{/address, 1}
```
Will return `1` at first and listen for osc messages on address `/address`. Each time a value is received, the property will be updated.
If the leading slash (`/`) is omitted, the address will be prefixed with the widget's `address` property:
```
OSC{color, "auto"}
```
Will listen for osc messages on address `/widget_address/color`.
----
## Formulas: `#{}`
The following syntax allow writing mathematical formulas in widgets' properties: