From 2569145e8f07bd7d06e25fa2bfb859e5aada61ef Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 11 Mar 2021 08:46:25 +0100 Subject: [PATCH] package: 1.8.12 --- package.json | 2 +- .../docs/docs/widgets/properties-reference.md | 16 +++++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index c8255e61..1909c1bf 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.8.11", + "version": "1.8.12", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 8a21a2a5..eb822dc5 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -502,17 +502,16 @@ | property | type |default | description | | --- | --- | --- | --- | - |
filters#
| `array` | "" | Each item must be an object with the following properties
- `type`: string ("highpass", "highshelf", "lowpass", "lowshelf", "peak", "bandpass" or "notch", default: "peak")
- `freq`: number (filter's resonant frequency, default: 1000)
- `q`: number (Q factor, default: 1)
- `gain`: number (default: 0)
- `on`: boolean (default: true)

See https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode | |
pips#
| `boolean` | true | Set to false to hide the scale | - |
rangeX#
| `object` | \{
 "min": 20,
 "max": 22000
}
| Defines the min and max values for the x axis (in Hz, logarithmic scale) | - |
rangeY#
| `object` | \{
 "min": -6,
 "max": 6
}
| Defines the min and max values for the y axis (in dB) | + |
rangeX#
| `object` | \{
 "min": 0,
 "max": 1
}
| Defines the min and max values for the x axis | + |
rangeY#
| `object` | \{
 "min": 0,
 "max": 1
}
| Defines the min and max values for the y axis | |
origin#
| `number`|
`boolean` | "auto" | Defines the y axis origin. Set to `false` to disable it | === "value" | property | type |default | description | | --- | --- | --- | --- | - |
value#
| `array`|
`string` | "" | - `Array` of `y` values
- `Array` of `[x, y]` `array` values
- `String` `array`
- `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points' coordinates | + |
value#
| `array`|
`string` | "" | - `Array` of `y` values: `[y1, y2, ...]`
- `Array` of `[x, y]` `array` values: `[[x1 , y1], [x2, y2], ...]`
- `String` `array`: `"[y1, y2, ...]"` or `"[[x1 , y1], [x2, y2], ...]"`
- `String` `object` to update specific coordinates only: `"{0: y1, 1: y2}"` or `"{0: [x1, y1], 1: [x2, y2]}"` | ??? api "
eq#
" Draws logarithmic frequency response from an array of filter objects. @@ -529,17 +528,17 @@ | property | type |default | description | | --- | --- | --- | --- | - |
filters#
| `array` | "" | Each item must be an object with the following properties
- `type`: string ("highpass", "highshelf", "lowpass", "lowshelf", "peak", "bandpass" or "notch", default: "peak")
- `freq`: number (filter's resonant frequency, default: 1000)
- `q`: number (Q factor, default: 1)
- `gain`: number (default: 0)
- `on`: boolean (default: true)

See https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode | |
pips#
| `boolean` | true | Set to false to hide the scale | |
rangeX#
| `object` | \{
 "min": 20,
 "max": 22000
}
| Defines the min and max values for the x axis (in Hz, logarithmic scale) | |
rangeY#
| `object` | \{
 "min": -6,
 "max": 6
}
| Defines the min and max values for the y axis (in dB) | |
origin#
| `number`|
`boolean` | "auto" | Defines the y axis origin. Set to `false` to disable it | + |
filters#
| `array` | "" | Each item must be an object with the following properties
- `type`: string ("highpass", "highshelf", "lowpass", "lowshelf", "peak", "bandpass" or "notch", default: "peak")
- `freq`: number (filter's resonant frequency, default: 1000)
- `q`: number (Q factor, default: 1)
- `gain`: number (default: 0)
- `on`: boolean (default: true)

See https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode | === "value" | property | type |default | description | | --- | --- | --- | --- | - |
value#
| `array`|
`string` | "" | - `Array` of `y` values
- `Array` of `[x, y]` `array` values
- `String` `array`
- `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points' coordinates | + |
value#
| `array`|
`string` | "" | - `Array` of `y` values: `[y1, y2, ...]`
- `Array` of `[x, y]` `array` values: `[[x1 , y1], [x2, y2], ...]`
- `String` `array`: `"[y1, y2, ...]"` or `"[[x1 , y1], [x2, y2], ...]"`
- `String` `object` to update specific coordinates only: `"{0: y1, 1: y2}"` or `"{0: [x1, y1], 1: [x2, y2]}"` | ??? api "
visualizer#
" Display its value over time. @@ -556,9 +555,8 @@ | property | type |default | description | | --- | --- | --- | --- | - |
filters#
| `array` | "" | Each item must be an object with the following properties
- `type`: string ("highpass", "highshelf", "lowpass", "lowshelf", "peak", "bandpass" or "notch", default: "peak")
- `freq`: number (filter's resonant frequency, default: 1000)
- `q`: number (Q factor, default: 1)
- `gain`: number (default: 0)
- `on`: boolean (default: true)

See https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode | |
pips#
| `boolean` | true | Set to false to hide the scale | - |
rangeX#
| `object` | \{
 "min": 20,
 "max": 22000
}
| Defines the min and max values for the x axis (in Hz, logarithmic scale) | + |
rangeX#
| `object` | \{
 "min": 0,
 "max": 1
}
| Defines the min and max values for the x axis | |
rangeY#
| `object` | \{
 "min": 0,
 "max": 1
}
| Defines the min and max values for the y axis | |
origin#
| `number` | "auto" | Defines the y axis origin. Set to `false` to disable it | |
duration#
| `number` | 1 | Defines visualization duration in seconds | @@ -570,7 +568,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
value#
| `array`|
`string` | "" | - `Array` of `y` values
- `Array` of `[x, y]` `array` values
- `String` `array`
- `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points' coordinates | + |
value#
| `array`|
`string` | "" | - `Array` of `y` values: `[y1, y2, ...]`
- `Array` of `[x, y]` `array` values: `[[x1 , y1], [x2, y2], ...]`
- `String` `array`: `"[y1, y2, ...]"` or `"[[x1 , y1], [x2, y2], ...]"`
- `String` `object` to update specific coordinates only: `"{0: y1, 1: y2}"` or `"{0: [x1, y1], 1: [x2, y2]}"` | ## Indicators ??? api "
led#
"