diff --git a/resources/docs/docs/getting-started/introduction.md b/resources/docs/docs/getting-started/introduction.md index 3c549329..620600e2 100644 --- a/resources/docs/docs/getting-started/introduction.md +++ b/resources/docs/docs/getting-started/introduction.md @@ -26,30 +26,30 @@ The **client** requires Chromium/Chrome `60` or later to work (Linux, MacOS, Win ## Installation -### Linux +??? example "Linux" -**Ubuntu / Debian** + **Ubuntu / Debian** -- [Download](/download) `open-stage-control-VERSION-ARCH.deb` -- Install it by running this as root in a terminal: -```bash -dpkg -i path/to/open-stage-control-VERSION-ARCH.deb -``` + - [Download](/download) `open-stage-control-VERSION-ARCH.deb` + - Install it by running this as root in a terminal: + ```bash + dpkg -i path/to/open-stage-control-VERSION-ARCH.deb + ``` -**Other linux distributions** + **Other linux distributions** -- [Download](/download) `open-stage-control-VERSION-linux-ARCH.zip` -- Extract it in the location of your choice -- The file inside it named `open-stage-control` is the app's main executable + - [Download](/download) `open-stage-control-VERSION-linux-ARCH.zip` + - Extract it in the location of your choice + - The file inside it named `open-stage-control` is the app's main executable -### Mac +??? example "Mac" -- [Download](/download) `open-stage-control-VERSION-osx.zip` -- Extract it in the location of your choice -- Drag `open-stage-control.app` in your `Application` folder + - [Download](/download) `open-stage-control-VERSION-osx.zip` + - Extract it in the location of your choice + - Drag `open-stage-control.app` in your `Application` folder -### Windows +??? example "Windows" -- [Download](/download) `open-stage-control-VERSION-win32-ARCH.zip` -- Extract it in the location of your choice -- The file inside it named `open-stage-control.exe` is the app's main executable + - [Download](/download) `open-stage-control-VERSION-win32-ARCH.zip` + - Extract it in the location of your choice + - The file inside it named `open-stage-control.exe` is the app's main executable diff --git a/resources/docs/docs/getting-started/server-configuration.md b/resources/docs/docs/getting-started/server-configuration.md index 60e34c30..daee9375 100644 --- a/resources/docs/docs/getting-started/server-configuration.md +++ b/resources/docs/docs/getting-started/server-configuration.md @@ -1,180 +1,148 @@ -The **server** can be configured with many options, either from a terminal or with the help of the **launcher**. The available options are described here. +The **server** can be configured with many options, either from a terminal or with the help of the **launcher**. -## Options +!!! abstract "Options" -#### `send` + === "send" -Defines the default osc/midi targets. These will be added to the widget's individual targets. Must be formatted as follows: + Defines the default osc/midi targets. These will be added to the widget's individual targets. Must be formatted as follows: -- `ip_address:port` -- `host_name:port` -- `midi:device_name` + - `ip_address:port` + - `host_name:port` + - `midi:device_name` ----- + === "load" -#### `load` + Path to a session file. All clients connecting the server will load it. -Path to a session file. All clients connecting the server will load it. + === "state" ----- + Path to a state file. All clients connecting the server will load it. -#### `state` -Path to a state file. All clients connecting the server will load it. + === "custom-module" + Path to a custom module file. Additional options can be passed after the path, they'll be accessible in the custom module's context. ----- -#### `custom-module` + === "port" -Path to a custom module file. Additional options can be passed after the path, they'll be accessible in the custom module's context. + HTTP port for the server (default: `8080`). ----- -#### `port` + === "osc-port" -HTTP port for the server (default: `8080`). + OSC (udp) input port (default: `port`). ----- -#### `osc-port` + === "tcp-port" -OSC (udp) input port (default: `port`). + OSC (tcp) input port/ ----- -#### `tcp-port` + === "tcp-targets" -OSC (tcp) input port/ + TCP servers to connect to. When sending osc messages, if the target matches one of these, TCP protocol will be used instead of UDP. Must be formatted as: ----- + - `ip_address:port` + - `host_name:port` -#### `tcp-targets` -TCP servers to connect to. When sending osc messages, if the target matches one of these, TCP protocol will be used instead of UDP. Must be formatted as: + === "midi" -- `ip_address:port` -- `host_name:port` + [MIDI configuration](../midi/midi-configuration). ----- -#### `midi` + === "debug" -[MIDI configuration](../midi/midi-configuration). + Print sent and receiced messages in the console. This may impact performances and should not be enabled in production. ----- -#### `debug` -Print sent and receiced messages in the console. This may impact performances and should not be enabled in production. + === "no-gui" + Disable built-in client window. ----- -#### `no-gui` + === "fullscreen" -Disable built-in client window. + Start the built-in client window in fullscreen. ----- -#### `fullscreen` + === "theme" -Start the built-in client window in fullscreen. + Theme names or paths. See [Themes](../customization/themes). ----- -#### `theme` + === "client-options" -Theme names or paths. See [Themes](../customization/themes). + Default [client options](../client-options). ----- -#### `client-options` + === "disable-vsync" -Default [client options](../client-options). + Disable built-in client window's vertical synchronization. ----- -#### `disable-vsync` + === "force-gpu" -Disable built-in client window's vertical synchronization. + Disable built-in client window's gpu blacklist (may improve rendering performance in some cases). ----- -#### `force-gpu` + === "read-only" -Disable built-in client window's gpu blacklist (may improve rendering performance in some cases). + Disable session editing, and file saving. ----- -#### `read-only` + === "remote-saving" -Disable session editing, and file saving. + Disable file saving for hosts that don't match the regular expresion. ----- + Sessions are saved and opened on the server's filesystem. It is possible to limit this feature to specific client with a regular expression. For example, `"127.0.0.1|192.168.0.10"` disables remote saving except for clients with ip addresses `127.0.0.1` (the server's local address) and `192.168.0.10`. -#### `remote-saving` -Disable file saving for hosts that don't match the regular expresion. + === "remote-root" -Sessions are saved and opened on the server's filesystem. It is possible to limit this feature to specific client with a regular expression. For example, `"127.0.0.1|192.168.0.10"` disables remote saving except for clients with ip addresses `127.0.0.1` (the server's local address) and `192.168.0.10`. + Set file browsing root folder. ----- -#### `remote-root` + === "instance-name" -Set file browsing root folder. + Used to differenciate multiple instances in a zeroconf network. ----- -#### `instance-name` +!!! abstract "Command-line options" -Used to differenciate multiple instances in a zeroconf network. + The following options can only be set from a terminal. ----- + === "disable-gpu" + Disable hardware acceleration for the launcher window and the built-in client window. -## Other options -The following options can only be set from a terminal: + === "inspect" ----- + Enable node inspector. -#### `disable-gpu` -Disable hardware acceleration for the launcher window and the built-in client window. + === "cache-dir" ----- + Override default cache directory (contains browser cache and localStorage data). -#### `inspect` -Enable node inspector. + === "config-file" ----- + Override default config file location (contains session history and launcher config). Defaults to `cache-dir/config.json`. -#### `cache-dir` -Override default cache directory (contains browser cache and localStorage data). + === "help" ----- + Show help. -#### `config-file` -Override default config file location (contains session history and launcher config). Defaults to `cache-dir/config.json`. + === "version" ----- + Show version number. -#### `help` - -Show help. - ----- - -#### `version` - -Show version number. - ----- ## Running in a terminal diff --git a/resources/docs/docs/user-interface/client.md b/resources/docs/docs/user-interface/client.md index b679653a..0981b67d 100644 --- a/resources/docs/docs/user-interface/client.md +++ b/resources/docs/docs/user-interface/client.md @@ -45,14 +45,22 @@ Modals are virtual popup windows that may contain various content: file browser, ## Keyboard shortcuts -
-| Shortcut | Description | -|---|---| -| ++"mod"+e++ | enable/disable editor | -| ++"mod"+s++ | save session | -| ++"mod"+shift+s++ | save session as... | -| ++"mod"+o++ | open a session file | -| ++"mod"+w++ | close client | +=== "Linux / Windows" -!!! info "" - `mod` refers to the `ctrl` key except on MacOs (`command`) + | Shortcut | Description | + |---|---| + | ++ctrl+e++ | enable/disable editor | + | ++ctrl+s++ | save session | + | ++ctrl+shift+s++ | save session as... | + | ++ctrl+o++ | open a session file | + | ++ctrl+w++ | close client | + +=== "Mac" + + | Shortcut | Description | + |---|---| + | ++cmd+e++ | enable/disable editor | + | ++cmd+s++ | save session | + | ++cmd+shift+s++ | save session as... | + | ++cmd+o++ | open a session file | + | ++cmd+w++ | close client | diff --git a/resources/docs/docs/user-interface/editor.md b/resources/docs/docs/user-interface/editor.md index 613244e4..ee56067a 100644 --- a/resources/docs/docs/user-interface/editor.md +++ b/resources/docs/docs/user-interface/editor.md @@ -34,7 +34,7 @@ Selected widget's properties are displayed and can be modified in the inspector. - Property fields are all multiline (press `shift + enter` for new line). - Properties are written in JSON, with some flexibility brought by the [JSON5](https://github.com/json5/json5) format. For example, doubles quotes around object keys are not mandatory. -- Clicking on a property name spawns a help modal window +- Clicking on a property name spawns a help modal window ## Project tree @@ -62,26 +62,48 @@ Multiple widgets can be edited at once. The following shortcuts are available only when the editor is enabled: -| Shortcut | Description | -|---|---| -| `click` | Widget selection. | -| `mod + click` | Multi-widget selection. Widgets can be toggled from selection by clicking on them individually.| -| `shift + click + drag`* | Draw a selection rectangle and attempt to select widgets in it (starts by selecting the widget under the cursor). If `mod` is pressed too, current selection is kept and will be merged with the new one if possible. | -| `mod + z` | Undo | -| `mod + y / mod + shift + z` | Redo | -| `delete` (`backspace` on Mac) | Delete selected widgets | -| `mod + c` | Copy selected widgets | -| `mod + x` | Cut selected widgets | -| `mod + v` | Paste clipboard in selected widget | -| `mod + shift + v` | Paste and increment id | -| `up, down, left, right` | Move selected widgets (1 grid unit, hold `shift` for 5 grid units) | -| `alt + [up, down, left, right]` | Resize selected widgets (1 grid unit, hold `shift` for 5 grid units) | -| `mod + a` | Select current widget's siblings and itself | -| `mod + shift + a` | Cancel current widget selection | -| `mod + up` | Select current widget's parent | -| `mod + down` | Select current widget's first child | -| `mod + right` | Select current widget's next sibling | -| `mod + left` | Select current widget's previous sibling | +=== "Linux / Windows" -!!! info "" - `mod` refers to the `ctrl` key except on MacOs (`command`) + | Shortcut | Description | + |---|---| + | ++"Click"++ | Widget selection. | + | ++ctrl+"Click"++ | Multi-widget selection. Widgets can be toggled from selection by clicking on them individually.| + | ++shift+"Click"+"Drag"++ | Draw a selection rectangle and attempt to select widgets in it (starts by selecting the widget under the cursor). If ++ctrl++ is pressed too, current selection is kept and will be merged with the new one if possible. | + | ++ctrl+z++ | Undo | + | ++ctrl+y++"auto" | |
-| "auto" | Widgets sharing the same `id` will act as clones and update each other's value(s) without sending extra osc messages. |
-| "auto" | Set to `false` to hide completelytrue | Set to `false` to hide the widget. |
-| true | Set to `false` to disable pointer interactions. |
-| "auto" | When both top and left are set to auto, the widget is positioned according to the normal flow of the page (from left to right, by order of creation)."auto" | When both top and left are set to auto, the widget is positioned according to the normal flow of the page (from left to right, by order of creation)."auto" | |
-| "auto" | |
-| "false" | If parent's layout is `vertical` or `horizontal`, set this to `true` to stretch the widget to use available space automatically. |
-| "auto" | Text color. Set to "auto" to inherit from parent widget. |
-| "auto" | Widget's default accent color. Set to "auto" to inherit from parent widget. |
-| "auto" | Stroke color. Set to "auto" to use `colorWidget`. |
-| "auto" | Fill color. Set to "auto" to use `colorWidget`. |
-| "auto" | Stroke color opacity. |
-| "auto" | Fill color opacity (off). |
-| "auto" | Fill color opacity (on). |
-| "auto" | Inner spacing. |
-| "" | CSS rules. See documentation."" | Define the widget's value depending on other widget's values / properties using the advanced property syntax |
-| "" | If set, the widget will be initialized with this value when the session is loaded. |
-| "" | Widgets sharing the same `linkId` update each other's value(s) AND send their respective osc messages."" | Script executed whenever the widget's value updates. See documentation. |
-| "auto" | OSC address for sending messages, it must start with a / |
-| "" | A value or array of values that will be prepended to the OSC messages. |
-| "" | Defines the osc argument types, one letter per argument (including preArgs)2 | Defines the number of decimals to send. |
-| "" | This defines the targets of the widget's OSC messagesfalse | Set to `true` to ignore the server's default targets |
-| false | Set to `true` to prevent the widget from sending any osc message |"auto" | |
+ | "auto" | Widgets sharing the same `id` will act as clones and update each other's value(s) without sending extra osc messages. |
+ | "auto" | Set to `false` to hide completelytrue | Set to `false` to hide the widget. |
+ | true | Set to `false` to disable pointer interactions. |
+
+
+ === "geometry"
+
+ | property | type |default | description |
+ | --- | --- | --- | --- |
+ | "auto" | When both top and left are set to auto, the widget is positioned according to the normal flow of the page (from left to right, by order of creation)."auto" | When both top and left are set to auto, the widget is positioned according to the normal flow of the page (from left to right, by order of creation)."auto" | |
+ | "auto" | |
+ | "false" | If parent's layout is `vertical` or `horizontal`, set this to `true` to stretch the widget to use available space automatically. |
+
+
+ === "style"
+
+ | property | type |default | description |
+ | --- | --- | --- | --- |
+ | "auto" | Text color. Set to "auto" to inherit from parent widget. |
+ | "auto" | Widget's default accent color. Set to "auto" to inherit from parent widget. |
+ | "auto" | Stroke color. Set to "auto" to use `colorWidget`. |
+ | "auto" | Fill color. Set to "auto" to use `colorWidget`. |
+ | "auto" | Stroke color opacity. |
+ | "auto" | Fill color opacity (off). |
+ | "auto" | Fill color opacity (on). |
+ | "auto" | Inner spacing. |
+ | "" | CSS rules. See documentation."" | Define the widget's value depending on other widget's values / properties using the advanced property syntax |
+ | "" | If set, the widget will be initialized with this value when the session is loaded. |
+ | "" | Widgets sharing the same `linkId` update each other's value(s) AND send their respective osc messages."" | Script executed whenever the widget's value updates. See documentation. |
+
+
+ === "osc"
+
+ | property | type |default | description |
+ | --- | --- | --- | --- |
+ | "auto" | OSC address for sending messages, it must start with a / |
+ | "" | A value or array of values that will be prepended to the OSC messages. |
+ | "" | Defines the osc argument types, one letter per argument (including preArgs)2 | Defines the number of decimals to send. |
+ | "" | This defines the targets of the widget's OSC messagesfalse | Set to `true` to ignore the server's default targets |
+ | false | Set to `true` to prevent the widget from sending any osc message |
## Basics
+??? api ""
+ On / off button.
-"" | CSS rules. See documentation."" | CSS rules. See documentation.1 | Set to `null` to send send no argument in the osc message |
-| 0 | Set to `null` to send send no argument in the osc message. Must be different from `on`. |
-| "toggle" | Interraction mode:false | Set to `true` to make the button require a double tap to be pushed instead of a single tap |
-| "auto" | Defines the widget's text color when active. |1 | Set to `null` to send send no argument in the osc message |
+ | 0 | Set to `null` to send send no argument in the osc message. Must be different from `on`. |
+ | "toggle" | Interraction mode:false | Set to `true` to make the button require a double tap to be pushed instead of a single tap |
+ | "auto" | Defines the widget's text color when active. |
+??? api """ | CSS rules. See documentation."" | CSS rules. See documentation."vertical" | Choices: `vertical`, `horizontal`, `grid` |
-| "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
-| \{
"Value 1": 1,
"Value 2": 2
} | `Array` of possible values to switch between : `[1,2,3]`"tap" | Interraction mode:"auto" | Defines the widget's text color when active. |"vertical" | Choices: `vertical`, `horizontal`, `grid` |
+ | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
+ | \{
"Value 1": 1,
"Value 2": 2
} | `Array` of possible values to switch between : `[1,2,3]`"tap" | Interraction mode:"auto" | Defines the widget's text color when active. |
+??? api ""center" | Set to `left` or `right` to change text alignment (otherwise center)\{
"Value 1": 1,
"Value 2": 2
} | `Array` of possible values to switch between : `[1,2,3]`"center" | Set to `left` or `right` to change text alignment (otherwise center)\{
"Value 1": 1,
"Value 2": 2
} | `Array` of possible values to switch between : `[1,2,3]`200 | - If `layout` is `circular`: diameter (in px)"center" | Set to `left` or `right` to change text alignment (otherwise center)"circular" | Defines whether the menu's layout should be rendered in a circle or in a box"" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
+ | false | Set to `true` to make the menu stay opened after mouse/touch release |
+ | false | Set to `true` to make the menu require a double tap to be opened instead of a single tap |
+ | [
1,
2,
3
] | `Array` of possible values to switch between : `[1,2,3]`"" | `Array` of `number` defining the weights of each value in `values`"center" | Set to `left` or `right` to change text alignment (otherwise center)"" | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) |
+ | false | Set to `true` to make the input send its value at each keystroke |
-200 | - If `layout` is `circular`: diameter (in px)"center" | Set to `left` or `right` to change text alignment (otherwise center)"circular" | Defines whether the menu's layout should be rendered in a circle or in a box"" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
-| false | Set to `true` to make the menu stay opened after mouse/touch release |
-| false | Set to `true` to make the menu require a double tap to be opened instead of a single tap |
-| [
1,
2,
3
] | `Array` of possible values to switch between : `[1,2,3]`"" | `Array` of `number` defining the weights of each value in `values`"center" | Set to `left` or `right` to change text alignment (otherwise center)"" | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) |
-| false | Set to `true` to make the input send its value at each keystroke |"center" | Set to `left` or `right` to change text alignment (otherwise center)"auto" | Default browsing directory |
-| "*" | Only display files with this extension |
-| false | Set to `true` to only display the filename (the whole path will still be used as value) |
-| false | Allow selecting a folder (by pressing "open" when no file is selected) |"center" | Set to `left` or `right` to change text alignment (otherwise center)"auto" | Default browsing directory |
+ | "*" | Only display files with this extension |
+ | false | Set to `true` to only display the filename (the whole path will still be used as value) |
+ | false | Allow selecting a folder (by pressing "open" when no file is selected) |
## Containers
+??? api ""auto" | Panel background color. Set to "auto" to inherit from parent widget. |
+ | "default" | Defines how children are laid out."start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
+ | false | Set to `true` to display for vertical tab layout |
+ | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget |
+ | true | Set to `false` to disable scrollbars |
+ | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets |
-| property | type |default | description |
-| --- | --- | --- | --- |
-| "auto" | Panel background color. Set to "auto" to inherit from parent widget. |
-| "default" | Defines how children are laid out."start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
-| false | Set to `true` to display for vertical tab layout |
-| false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget |
-| true | Set to `false` to disable scrollbars |
-| "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets |
-| "" | Defines currently widgeted tab in the widget[] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. |
-| [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously |"" | Defines currently widgeted tab in the widget[] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. |
+ | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously |
-false | Set to `true` to make the modal require a double tap to open instead of a single tap |
-| "" | Alternative label for the modal popup |
-| "80%" | Modal popup's size |
-| "80%" | Modal popup's size |
-| "auto" | Modal popup's position |
-| "auto" | Modal popup's position |
-| "auto" | Panel background color. Set to "auto" to inherit from parent widget. |
-| "default" | Defines how children are laid out."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
-| false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget |
-| true | Set to `false` to disable scrollbars |
-| "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets |
-| "" | Defines the modal's state:`0` for closed, `1` for opened |
-| [] | Each element of the array must be a widget object |false | Set to `true` to make the modal require a double tap to open instead of a single tap |
+ | "" | Alternative label for the modal popup |
+ | "80%" | Modal popup's size |
+ | "80%" | Modal popup's size |
+ | "auto" | Modal popup's position |
+ | "auto" | Modal popup's position |
+ | "auto" | Panel background color. Set to "auto" to inherit from parent widget. |
+ | "default" | Defines how children are laid out."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
+ | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget |
+ | true | Set to `false` to disable scrollbars |
+ | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets |
+ === "value"
+ | property | type |default | description |
+ | --- | --- | --- | --- |
+ | "" | Defines the modal's state:`0` for closed, `1` for opened |
+ === "children"
-[] | Each element of the array must be a widget object |
-"" | `id` of the widget to clone |
-| \{} | Cloned widget's properties to override |"" | `id` of the widget to clone |
+ === "overrides"
+ | property | type |default | description |
+ | --- | --- | --- | --- |
+ | \{} | Cloned widget's properties to override |
-"button" | Defines the type of the widgets in the matrix |
-| "auto" | Panel background color. Set to "auto" to inherit from parent widget. |
-| "horizontal" | Defines how children are laid out."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
-| 4 | Defines the number of widgets in the matrix |
-| 0 | First widget's index |
-| true | Set to `false` to disable traversing gestures |
-| \{} | Defines a set of property to override the widgets' defaults."button" | Defines the type of the widgets in the matrix |
+ | "auto" | Panel background color. Set to "auto" to inherit from parent widget. |
+ | "horizontal" | Defines how children are laid out."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
+ | 4 | Defines the number of widgets in the matrix |
+ | 0 | First widget's index |
+ | true | Set to `false` to disable traversing gestures |
+ | \{} | Defines a set of property to override the widgets' defaults."" | Available CSS variables:25 | Defines the number keys |
+ | 48 | MIDI note number to start with (default is C4)true | Set to `false` to disable traversing gestures |
+ | 1 | Set to `null` to send send no argument in the osc message0 | Set to `null` to send send no argument in the osc messagefalse | Set to `true` to make keys bahave like toggle buttons |
-| property | type |default | description |
-| --- | --- | --- | --- |
-| "" | Available CSS variables:25 | Defines the number keys |
-| 48 | MIDI note number to start with (default is C4)true | Set to `false` to disable traversing gestures |
-| 1 | Set to `null` to send send no argument in the osc message0 | Set to `null` to send send no argument in the osc messagefalse | Set to `true` to make keys bahave like toggle buttons |"" | The inputs/ouputs width can be adjusted by using the `.nodes` selector:[
"input_1",
"input_2"
] | - `Array` of input names : `['input_1', 'input_2']`[
"output_1",
"output_2"
] | List of output values the inputs can connect to (see `inputs`). |
-"" | The inputs/ouputs width can be adjusted by using the `.nodes` selector:[
"input_1",
"input_2"
] | - `Array` of input names : `['input_1', 'input_2']`[
"output_1",
"output_2"
] | List of output values the inputs can connect to (see `inputs`). |"auto" | Panel background color. Set to "auto" to inherit from parent widget. |
+ | "default" | Defines how children are laid out."start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
+ | false | Set to `true` to display for vertical tab layout |
+ | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget |
+ | true | Set to `false` to disable scrollbars |
+ | "" | Defines one or more arbitrary variables that can be inherited by children widgets |
+ === "value"
+ | property | type |default | description |
+ | --- | --- | --- | --- |
+ | "" | Defines currently widgeted tab in the widget[] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. |
+ | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously |
-| property | type |default | description |
-| --- | --- | --- | --- |
-| "auto" | Panel background color. Set to "auto" to inherit from parent widget. |
-| "default" | Defines how children are laid out."start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
-| false | Set to `true` to display for vertical tab layout |
-| false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget |
-| true | Set to `false` to disable scrollbars |
-| "" | Defines one or more arbitrary variables that can be inherited by children widgets |
-| "" | Defines currently widgeted tab in the widget[] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. |
-| [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously |"auto" | Panel background color. Set to "auto" to inherit from parent widget. |
+ | "default" | Defines how children are laid out."start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
+ | false | Set to `true` to display for vertical tab layout |
+ | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget |
+ | true | Set to `false` to disable scrollbars |
+ | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets |
+ === "value"
-"auto" | Panel background color. Set to "auto" to inherit from parent widget. |
-| "default" | Defines how children are laid out."start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
-| false | Set to `true` to display for vertical tab layout |
-| false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget |
-| true | Set to `false` to disable scrollbars |
-| "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets |
-| "" | Defines currently widgeted tab in the widget[] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. |
-| [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously |"" | Defines currently widgeted tab in the widget[] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. |
+ | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously |
## Frames
+??? api ""auto" | Set to `false` to hide completely"auto" | Set to `false` to hide completely"" | External web page URL. Only local URLs are allowed (starting with `http://127.0.0.1/`, `http://10.x.x.x/`, `http://192.168.x.x/`, etc) |"" | External web page URL. Only local URLs are allowed (starting with `http://127.0.0.1/`, `http://10.x.x.x/`, `http://192.168.x.x/`, etc) |
+??? api """ | Svg xml definition:"" | Svg xml definition:"" | Allowed HTML tags:"" | Allowed HTML tags:"cover" | CSS background-size |
-| "center" | CSS background-position |
-| "no-repeat" | CSS background-repeat |
-| true | Set to false to disable image caching (forces file reload when updating or editing the widget)."" | - File `url` or `path` (relative to the session file location by default, falling back to absolute path)"cover" | CSS background-size |
+ | "center" | CSS background-position |
+ | "no-repeat" | CSS background-repeat |
+ | true | Set to false to disable image caching (forces file reload when updating or editing the widget)."" | - File `url` or `path` (relative to the session file location by default, falling back to absolute path)\{
"min": 0,
"max": 1
} | Defines the min and max values for the x axis |
+ | \{
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
+ | false | Set to `true` to use logarithmic scale for the x axis (base 10). Set to a `number` to define the logarithm's base. |
+ | false | Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm's base. |
+ | "auto" | Defines the y axis origin. Set to `false` to disable it. |
+ | true | |
+ | false | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) |
+ | true | Set to `false` to hide the scale |
-| property | type |default | description |
-| --- | --- | --- | --- |
-| \{
"min": 0,
"max": 1
} | Defines the min and max values for the x axis |
-| \{
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
-| false | Set to `true` to use logarithmic scale for the x axis (base 10). Set to a `number` to define the logarithm's base. |
-| false | Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm's base. |
-| "auto" | Defines the y axis origin. Set to `false` to disable it. |
-| true | |
-| false | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) |
-| true | Set to `false` to hide the scale |
-| "" | - `Array` of `y` values"" | - `Array` of `y` values"" | Each item must be an object with the following propertiestrue | Set to false to hide the scale |
-| \{
"min": 20,
"max": 22000
} | Defines the min and max values for the x axis (in Hz, logarithmic scale) |
-| \{
"min": -6,
"max": 6
} | Defines the min and max values for the y axis (in dB) |
-| "auto" | Defines the y axis origin. Set to `false` to disable it |1 | Defines visualization duration in seconds |
-| \{
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
-| "auto" | Defines the y axis origin. Set to `false` to disable it |
-| false | Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm's base. |
-| true | Set to `false` to hide the scale |"" | Each item must be an object with the following propertiestrue | Set to false to hide the scale |
+ | \{
"min": 20,
"max": 22000
} | Defines the min and max values for the x axis (in Hz, logarithmic scale) |
+ | \{
"min": -6,
"max": 6
} | Defines the min and max values for the y axis (in dB) |
+ | "auto" | Defines the y axis origin. Set to `false` to disable it |
+??? api "1 | Defines visualization duration in seconds |
+ | \{
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
+ | "auto" | Defines the y axis origin. Set to `false` to disable it |
+ | false | Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm's base. |
+ | true | Set to `false` to hide the scale |
## Indicators
+??? api ""intensity" | Defines how value is interpreted (see `value`)\{
"min": 0,
"max": 1
} | Value range |
+ | \{
"min": 0,
"max": 1
} | Alpha range (if `mode` is `color`) |
+ | false | If `mode` is `intensity`, set to `true` to use logarithmic scale. |
+ | "" | Css border-radius property. |
-| property | type |default | description |
-| --- | --- | --- | --- |
-| "intensity" | Defines how value is interpreted (see `value`)\{
"min": 0,
"max": 1
} | Value range |
-| \{
"min": 0,
"max": 1
} | Alpha range (if `mode` is `color`) |
-| false | If `mode` is `intensity`, set to `true` to use logarithmic scale. |
-| "" | Css border-radius property. |
-| "" | If `mode` is `intensity`:"" | If `mode` is `intensity`:false | Set to `true` to display the text vertically |
-| false | Set to `true` to wrap long lines automatically."center" | Css text-align property.false | Set to `true` to display the text vertically |
+ | false | Set to `true` to wrap long lines automatically."center" | Css text-align property.20 | Defines the points' size |
+ | false | By default, the points are dragged from their initial position.false | When set to `true`, the widget will go back to its default value when released |
+ | true | Set to `false` to hide the scale |
+ | \{
"min": 0,
"max": 1
} | Defines the min and max values for the x axis |
+ | \{
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
+ | false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. |
+ | false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. |
+ | false | Set to `true` to make the fader reset to its default value when receiving a double tap.1 | Defines the pad's sensitivity when `snap` is `false` |
-| property | type |default | description |
-| --- | --- | --- | --- |
-| 20 | Defines the points' size |
-| false | By default, the points are dragged from their initial position.false | When set to `true`, the widget will go back to its default value when released |
-| true | Set to `false` to hide the scale |
-| \{
"min": 0,
"max": 1
} | Defines the min and max values for the x axis |
-| \{
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
-| false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. |
-| false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. |
-| false | Set to `true` to make the fader reset to its default value when receiving a double tap.1 | Defines the pad's sensitivity when `snap` is `false` |
-| "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1`) |"" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1`) |
+??? api "false | By default, the points are dragged from their initial position.false | When set to `true`, the widget will go back to its default value when released |
+ | \{
"min": 0,
"max": 255
} | Defines the widget's output scale. |
+ | false | Set to `true` to enable alpha channel |
+ | \{
"min": 0,
"max": 1
} | Defines the widget's output scale for the alpha channel. |
-false | By default, the points are dragged from their initial position.false | When set to `true`, the widget will go back to its default value when released |
-| \{
"min": 0,
"max": 255
} | Defines the widget's output scale. |
-| false | Set to `true` to enable alpha channel |
-| \{
"min": 0,
"max": 1
} | Defines the widget's output scale for the alpha channel. |2 | Defines the number of points on the pad20 | Defines the points' size |
+ | false | By default, the points are dragged from their initial position.false | When set to `true`, the widget will go back to its default value when released |
+ | true | Set to `false` to hide the scale |
+ | \{
"min": 0,
"max": 1
} | Defines the min and max values for the x axis |
+ | \{
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
+ | false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. |
+ | false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. |
+ | 1 | Defines the pad's sensitivity when `snap` is `false` |
-2 | Defines the number of points on the pad20 | Defines the points' size |
-| false | By default, the points are dragged from their initial position.false | When set to `true`, the widget will go back to its default value when released |
-| true | Set to `false` to hide the scale |
-| \{
"min": 0,
"max": 1
} | Defines the min and max values for the x axis |
-| \{
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
-| false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. |
-| false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. |
-| 1 | Defines the pad's sensitivity when `snap` is `false` |
-| "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |"" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
## Sliders
+??? api """ | CSS rules. See documentation."" | CSS rules. See documentation."default" | Design stylefalse | Set to `true` to display the fader horizontally |
-| false | Set to `true` to show range breakpoints (ignored if `design` is `compact`) |
-| false | Set to `true` to display a dashed gauge |
-| [] | When set, the meter's gauge will be filled with a linear color gradientfalse | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position |
-| false | When set to `true`, the widget will go back to its `default` value when released |
-| false | Set to `true` to make the fader reset to its `default` value when receiving a double tap.\{
"min": 0,
"max": 1
} | Defines the breakpoints of the fader's scale:false | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. |
-| 1 | Defines the fader's sensitivity when `snap` is `false` |
-| "" | Restricts the widget's value:"auto" | Defines the starting point's value of the fader's gauge |
-| "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |"default" | Design stylefalse | Set to `true` to display the fader horizontally |
+ | false | Set to `true` to show range breakpoints (ignored if `design` is `compact`) |
+ | false | Set to `true` to display a dashed gauge |
+ | [] | When set, the meter's gauge will be filled with a linear color gradientfalse | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position |
+ | false | When set to `true`, the widget will go back to its `default` value when released |
+ | false | Set to `true` to make the fader reset to its `default` value when receiving a double tap.\{
"min": 0,
"max": 1
} | Defines the breakpoints of the fader's scale:false | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. |
+ | 1 | Defines the fader's sensitivity when `snap` is `false` |
+ | "" | Restricts the widget's value:"auto" | Defines the starting point's value of the fader's gauge |
+ === "osc"
+ | property | type |default | description |
+ | --- | --- | --- | --- |
+ | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
-"" | CSS rules. See documentation."vertical" | - `circular`: relative move in circular motionfalse | When set to `true`, the widget will go back to its `default` value when released |
-| false | Set to `true` to show the scale's breakpoints |
-| false | Set to `true` to display a dashed gauge |
-| 270 | Defines the angle's width of the knob, in degrees |
-| false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.\{
"min": 0,
"max": 1
} | Defines the breakpoints of the fader's scale:false | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. |
-| 1 | Defines the knob's sensitivity when `mode` is not `snap` |
-| "" | Restricts the widget's value:"auto" | Defines the starting point's value of the knob's gauge |
-| "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |"" | CSS rules. See documentation."vertical" | - `circular`: relative move in circular motionfalse | When set to `true`, the widget will go back to its `default` value when released |
+ | false | Set to `true` to show the scale's breakpoints |
+ | false | Set to `true` to display a dashed gauge |
+ | 270 | Defines the angle's width of the knob, in degrees |
+ | false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.\{
"min": 0,
"max": 1
} | Defines the breakpoints of the fader's scale:false | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. |
+ | 1 | Defines the knob's sensitivity when `mode` is not `snap` |
+ | "" | Restricts the widget's value:"auto" | Defines the starting point's value of the knob's gauge |
+ === "osc"
-"" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
-360 | defines the granularity / verbosity of the encoder (number of step for a 360° arc) |
-| -1 | Defines which value is sent when rotating the encoder anticlockwise |
-| 1 | Defines which value is sent when rotating the encoder clockwise |
-| "" | Defines which value is sent when releasing the encoder:"circular" | - `circular`: relative move in circular motionfalse | Set to `true` to make the fader reset to its `default` value when receiving a double tap."" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |360 | defines the granularity / verbosity of the encoder (number of step for a 360° arc) |
+ | -1 | Defines which value is sent when rotating the encoder anticlockwise |
+ | 1 | Defines which value is sent when rotating the encoder clockwise |
+ | "" | Defines which value is sent when releasing the encoder:"circular" | - `circular`: relative move in circular motionfalse | Set to `true` to make the fader reset to its `default` value when receiving a double tap."" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
-"" | CSS rules. See documentation."default" | Design stylefalse | Set to `true` to display the fader horizontally |
-| false | Set to `true` to show range breakpoints (ignored if `design` is `compact`) |
-| false | Set to `true` to display a dashed gauge |
-| [] | When set, the meter's gauge will be filled with a linear color gradientfalse | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position |
-| false | When set to `true`, the widget will go back to its `default` value when released |
-| false | Set to `true` to make the fader reset to its `default` value when receiving a double tap.\{
"min": 0,
"max": 1
} | Defines the breakpoints of the fader's scale:false | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. |
-| 1 | Defines the fader's sensitivity when `snap` is `false` |
-| "" | Restricts the widget's value:"auto" | Defines the starting point's value of the fader's gauge |
-| "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |"" | CSS rules. See documentation."default" | Design stylefalse | Set to `true` to display the fader horizontally |
+ | false | Set to `true` to show range breakpoints (ignored if `design` is `compact`) |
+ | false | Set to `true` to display a dashed gauge |
+ | [] | When set, the meter's gauge will be filled with a linear color gradientfalse | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position |
+ | false | When set to `true`, the widget will go back to its `default` value when released |
+ | false | Set to `true` to make the fader reset to its `default` value when receiving a double tap.\{
"min": 0,
"max": 1
} | Defines the breakpoints of the fader's scale:false | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. |
+ | 1 | Defines the fader's sensitivity when `snap` is `false` |
+ | "" | Restricts the widget's value:"auto" | Defines the starting point's value of the fader's gauge |
+ === "osc"
+
+ | property | type |default | description |
+ | --- | --- | --- | --- |
+ | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
## Scripts
+??? api ""value" | Define which events trigger the script's execution."" | Script executed whenever the widget's receives the defined event. See documentation. |
-| property | type |default | description |
-| --- | --- | --- | --- |
-| "value" | Define which events trigger the script's execution."" | Script executed whenever the widget's receives the defined event. See documentation. |
-| "" | Key combo `string` or `array` of strings (see KeyboardJS documentation) |
-| true | Set to `false` to prevent keydown repeats when holding the key combo pressed |
-| "keyDown" | Determines which key event trigger the script's execution"" | Key combo `string` or `array` of strings (see KeyboardJS documentation) |
+ | true | Set to `false` to prevent keydown repeats when holding the key combo pressed |
+ | "keyDown" | Determines which key event trigger the script's executionLoading changelog...Loading changelog...