diff --git a/resources/docs/user-guide/widgets-specifics/pads.md b/resources/docs/user-guide/widgets-specifics/pads.md index fe5d1e40..9c4930e7 100644 --- a/resources/docs/user-guide/widgets-specifics/pads.md +++ b/resources/docs/user-guide/widgets-specifics/pads.md @@ -14,14 +14,18 @@ Pads are multidimensional widgets that output multiple values. ``` -#### `range` +#### `rangeX` - type: `object` - default: - `{ - x:{"min":0,"max":1}, - y:{"min":0,"max":1} - }` -- usage: defines the `min` and `max` values for the `x` and `y` axis + `{"min":0,"max":1}` +- usage: defines the `min` and `max` values for the `x` axis. Same as fader's [`range`](sliders/#fader) + +#### `rangeY` +- type: `object` +- default: + `{"min":0,"max":1}` +- usage: defines the `min` and `max` values for the `y` axis. Same as fader's [`range`](sliders/#fader) + #### `logScaleX` - type: `boolean` @@ -44,6 +48,50 @@ Pads are multidimensional widgets that output multiple values. - usage: - set to `true` to send separate osc messages for `x` and `y` axis. The `path` will be the same as the widget's with `/x` or `/y` appended to it - can be set as an object to specify a different `path` : `{x:'/osc_path_x', y:'/osc_path_y'}` +- note: the widget will only respond to its original osc path, not to the splitted version + +---- + +## MultiXy + +```js +{ + type:'multixy', + // etc +} +``` + + +#### `rangeX` +- type: `object` +- default: + `{"min":0,"max":1}` +- usage: defines the `min` and `max` values for the `x` axis. Same as fader's [`range`](sliders/#fader) + +#### `rangeY` +- type: `object` +- default: + `{"min":0,"max":1}` +- usage: defines the `min` and `max` values for the `y` axis. Same as fader's [`range`](sliders/#fader) + + +#### `logScaleX` +- type: `boolean` +- default: `false` +- usage: set to `true` to use logarithmic scale for the `x` axis (log10) + +#### `logScaleY` +- type: `boolean` +- default: `false` +- usage: set to `true` to use logarithmic scale for the `y` axis (log10) + +#### `split` +- type: `boolean|object` +- default: `false` +- usage: + - set to `true` to send separate osc messages for each point's `x` and `y` axis. The `path` will be the same as the widget's with `/N/x` or `/N/y` appended to it, where `N` is the point's id. + - can be set as an object to specify a different `path` : `{0:'/osc_path/0', 1:'/osc_path_/1'}` (each path will be appended `/x` or `y`) +- note: the widget will only respond to its original osc path, not to the splitted version ----