diff --git a/resources/docs/docs/getting-started/introduction.md b/resources/docs/docs/getting-started/introduction.md index 58428baa..3c549329 100644 --- a/resources/docs/docs/getting-started/introduction.md +++ b/resources/docs/docs/getting-started/introduction.md @@ -1,18 +1,55 @@ +!!! question "Looking for v0 documentation ?" + Head over v0.openstagecontrol.ammd.net + +!!! warning "Incomplete documentation" + The documentation is currently being updated. + Welcome to Open Stage Control documentation. Along these pages you'll learn how to setup OSC on your system and everything you need to start building your own control interface. ## Overview -Open Stage Control consists in 3 modules: +Open Stage Control consists in 3 modules: the server, the launcher and the client. -- a server -- a launcher -- a client - -The **server** is the core of the software, it is responsible for sending and receiving all osc/midi messages, and act as a web server that serves the clients web application. It is written in Javascript and runs with Electron, a cross-platform framework based on Chromium. By default, the server alwyas opens a client window when it starts but it can be run in *headless* mode, without any window. +The **server** is the core of the software, it is responsible for sending and receiving all osc/midi messages, and act as a web server that serves the clients web application. It is written in Javascript and runs with Electron, a cross-platform framework based on Chromium. By default, the server always opens a client window when it starts but it can be run in *headless* mode, without any window. The **launcher** provides a simple way to configure and start the server. It appears whenever the server is not launched from a terminal or without being configured. The **client** is the web application made available by the server when it starts. Any compatible browser that connects to the server by browsing to its address will create a new client instance and be able to open and modify sessions. -!!! question "Looking for v0 docs ?" - Head over [here](https://v0.openstagecontrol.ammd.net) + +## Requirements + +The **server** can run on all [platforms supported by Electron](https://www.electronjs.org/docs/tutorial/support#supported-platforms). Systems that can run [Node.js](https://nodejs.org/en/) may also be able to run it in headless mode (see [Running with Node](./running-with-node.md)). + +The **client** requires Chromium/Chrome `60` or later to work (Linux, MacOS, Windows, Android, etc). iOS devices must be of version `10.3` or higher. + + +## Installation + +### Linux + +**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 +``` + +**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 + +### 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 + +### 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 diff --git a/resources/docs/docs/getting-started/running-from-sources.md b/resources/docs/docs/getting-started/running-from-sources.md index 62ddfb23..b02fb25d 100644 --- a/resources/docs/docs/getting-started/running-from-sources.md +++ b/resources/docs/docs/getting-started/running-from-sources.md @@ -1,3 +1,5 @@ +Running the app from the sources slightly differs from using prebuilt binaries: we'll build and launch the app with npm (node package manager). + ## Requirements - [Node.js](https://nodejs.org/en/#download) @@ -6,9 +8,8 @@ ## Run from sources -Running the app from the sources slightly differs from using built binaries : we'll build and launch the app with npm (node package manager). -**2. Download sources** +**Download** ```bash git clone https://github.com/jean-emmanuel/open-stage-control @@ -27,7 +28,7 @@ npm run build npm run build ``` -**3. Run !** +**Run** ```bash npm start [ -- options] diff --git a/resources/docs/docs/getting-started/server-setup.md b/resources/docs/docs/getting-started/server-setup.md deleted file mode 100644 index efe07168..00000000 --- a/resources/docs/docs/getting-started/server-setup.md +++ /dev/null @@ -1,46 +0,0 @@ -
-| Option | Description | -|---|---| -| --send | default targets for all widgets (ip: port / domain: port / midi: port_name pairs) | -| --load | session file to load | -| --state | state file to load | -| --custom-module | custom module file to load (custom options can be passed after the filename) | -| --port | http port of the server (default to 8080) | -| --osc-port | osc input port (default to --port) | -| --tcp-port | tcp server input port | -| --tcp-targets | tcp servers to connect to (ip: port pairs), does not susbtitute for --send | -| --midi | midi router settings | -| --debug | log received osc messages in the console | -| --no-gui | disable default gui | -| --theme | theme name or path (mutliple values allowed) | -| --client-options | client options (opt=value pairs) | -| --disable-vsync | disable gui's vertical synchronization | -| --force-gpu | ignore chrome's gpu blacklist | -| --read-only | disable session editing and session history changes | -| --remote-saving | disable remote session saving for hosts that don't match the regular expresion | -| --remote-root | set remote file browsing root folder | -| --instance-name | used to differenciate multiple instances in a zeroconf network | -| --fullscreen | launch in fullscreen mode (only affects the default client gui) | - -The following options can only be set when running the app from a terminal: - - -| Option | Description | -|---|---| -| --disable-gpu | disable hardware acceleration | -| --inspect | enable node/electron inspector | -| --cache-dir | override default cache directory | -| --config-file | override default config file (defaults to cache-dir/config.json) | -| --help | Show help | -| --version | Show version number | - -## Running in a terminal on Windows - -Windows users launching the app from a terminal need to add a double dash (`--`) before their options: - -```bash -open-stage-control.exe -- --port 5555 [...] - -# when running from sources -npm start -- -- [options] -``` diff --git a/resources/docs/docs/getting-started/supported-platforms.md b/resources/docs/docs/getting-started/supported-platforms.md deleted file mode 100644 index f637ceb6..00000000 --- a/resources/docs/docs/getting-started/supported-platforms.md +++ /dev/null @@ -1,9 +0,0 @@ -# Supported platforms - -Open Stage Control is a *desktop* server application. It runs on all [platforms supported by Electron](https://electron.atom.io/docs/tutorial/supported-platforms/) or [Node](https://nodejs.org/en/) (in headless mode only, see [Running with Node](./running-with-node.md)). Any device running a compatible browser can connect to the server : - -- Chrome/Chromium version `60` or later (Linux, MacOS, Windows, Android, etc) -- iOS version `10.3` or later - -!!! info "Android / iOS app ?" - There is no native mobile application. The server's url can be added to the home screen to launch the interface in fullscreen. diff --git a/resources/docs/docs/midi/midi-setup.md b/resources/docs/docs/midi/midi-setup.md deleted file mode 100644 index 9e0f427a..00000000 --- a/resources/docs/docs/midi/midi-setup.md +++ /dev/null @@ -1,36 +0,0 @@ -## Requirements - -MIDI support requires additional software to be installed on the server's system: - -- python (2 or 3) -- python package [python-rtmidi](https://spotlightkid.github.io/python-rtmidi/installation.html) - -To install `python-rtmidi`, run `pip install python-rtmidi` (python 2) in a terminal or `pip3 install python-rtmidi` (python 3). - -!!! info "Why an additionnal dependency ?" - Providing cross-platform MIDI support is not trivial, as it requires OS-specific compilation that cannot be automated within Open Stage Control's current packaging workflow. Using a python addon seems to be the best compromise so far : the core app remains easy to build, and the extra dependency is easy to install. - -## Setup - -When running the app, the `-m / --midi` switch must be set; it accepts the following options (separated by spaces): - -- `list`: prints the available MIDI ports to the console; numbers in the first column may be used for `input`/`output` definition below -- `device_name:input,output`: connect to midi ports `input` and `output`; osc messages sent to target `midi:device_name` will be processed as midi events; Multiple devices can be declared. If the `device_name` contains white spaces, the declaration must be enquoted (ie `"spaced name:input,output"`). `device_name` doesn't need to match the actual midi device name, it is just an identifier (see [Widget settings](#widget-settings)). -- `sysex`: parse incomming system exclusive messages (disabled by default) -- `pc_offset`: send program changes with a `-1` offset to match some software/hardware implementations -- `path=/path/to/python`: indicates where to find python or python3 binary in case open stage control doesn't (`Error: spawn python3 ENOENT`) - -*Linux only:* - -- `device_name:virtual`: creates a virtual midi device with one input port and one output port -- `jack`: use JACK MIDI instead of ALSA (add as extra parameter). `rtmidi` must be compiled with `--jack-midi` flag for this to work. - - -## Widget setup - -In order to send MIDI messages, a widget must have at least one `target` formatted as follows: - -`midi:device_name` (where `device_name` is one of the declared midi devices) - -!!! warning - Messages received from a MIDI port only affect widgets that send to this port. diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index b0a307fe..4e6152a6 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -7,39 +7,39 @@ | property | type |default | description | | --- | --- | --- | --- | |"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" | |
+| "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" | 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. |
+| "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 is set. See https://openstagecontrol.ammd.net/v1/docs/widgets/scripting/ |
+| "" | 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 receives the defined event. 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 prevent the widget from sending any osc message |
+| "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 prevent the widget from sending any osc message |
## Basics
@@ -52,11 +52,11 @@
| property | type |default | description |
| --- | --- | --- | --- |
| 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. |
@@ -69,11 +69,11 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "vertical" | |
-| "" | 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" | Possible values: 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. |
@@ -86,8 +86,8 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "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`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)"" | 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 |
@@ -135,11 +135,11 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "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) |
@@ -154,19 +154,19 @@
| 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 |
+| "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"" | 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 |
+| [] | 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 |
@@ -179,22 +179,22 @@
| property | type |default | description |
| --- | --- | --- | --- |
| 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 |
+| 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 |
+| "" | Defines the modal's state:`0` for closed, `1` for opened |
| [] | Each element of the array must be a widget object |
+| [] | Each element of the array must be a widget object |
@@ -207,9 +207,9 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "" | `id` of the widget to clone |
+| "" | `id` of the widget to clone |
| \{} | Cloned widget's properties to override |
+| \{} | Cloned widget's properties to override |
@@ -222,14 +222,14 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "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:"" | 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 |
+| 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 |
@@ -262,10 +262,10 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "" | The inputs/ouputs width can be adjusted by using the `.nodes` selector:"" | 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`). |
+| [
"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`). |
@@ -278,19 +278,19 @@
| 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 |
+| "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"" | 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 |
+| [] | 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 |
@@ -303,19 +303,19 @@
| 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 |
+| "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"" | 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 |
+| [] | 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 |
@@ -330,9 +330,9 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "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) |
@@ -345,7 +345,7 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "" | 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)."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)"" | - 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 |
+| \{
"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 |
+| "" | 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 |
@@ -430,11 +430,11 @@
| property | type |default | description |
| --- | --- | --- | --- |
| 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 |
+| 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 |
@@ -449,13 +449,13 @@
| 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. |
+| "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` |
+| 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`) |
@@ -509,11 +509,11 @@
| property | type |default | description |
| --- | --- | --- | --- |
| 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. |
@@ -526,19 +526,19 @@
| property | type |default | description |
| --- | --- | --- | --- |
| 2 | Defines the number of points on the pad2 | 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` |
+| 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. |
+| 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` |
@@ -553,21 +553,21 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "default" | Design style |
-| false | 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 |
+| "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` |
+| "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
@@ -580,19 +580,19 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "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 |
+| "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` |
+| "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
@@ -605,14 +605,14 @@
| property | type |default | description |
| --- | --- | --- | --- |
| 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.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` |
+| "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
@@ -625,21 +625,21 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "default" | Design style |
-| false | 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 |
+| "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` |
+| "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
@@ -654,11 +654,11 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "value" | Define which events trigger the script's execution. |
+| "value" | Define which events 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 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 execution