docs: add keyboard and matrices' split option
This commit is contained in:
parent
08bd70c4f0
commit
74ab6356d1
1 changed files with 53 additions and 0 deletions
|
|
@ -26,10 +26,16 @@ Multifader creates a row of vertical faders that respond to the same gestures.
|
|||
- default: `true`
|
||||
- usage: enable traversing gestures
|
||||
|
||||
#### `split`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: if `true`, the fader's index will be appended to the widget's osc `address`; if `false` it will be prepended to the widget's `preArgs`
|
||||
|
||||
#### `options`
|
||||
- see fader's [`options`](sliders/#fader)
|
||||
|
||||
|
||||
|
||||
----
|
||||
|
||||
## Multitoggle
|
||||
|
|
@ -53,6 +59,12 @@ Multifader creates a row of vertical faders that respond to the same gestures.
|
|||
- default: `true`
|
||||
- usage: enable traversing gestures
|
||||
|
||||
#### `split`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: if `true`, the toggle's index will be appended to the widget's osc `address`; if `false` it will be prepended to the widget's `preArgs`
|
||||
|
||||
|
||||
#### `options`
|
||||
- see toggle's [`options`](buttons/#toggle)
|
||||
|
||||
|
|
@ -79,6 +91,47 @@ Multifader creates a row of vertical faders that respond to the same gestures.
|
|||
- default: `true`
|
||||
- usage: enable traversing gestures
|
||||
|
||||
#### `split`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: if `true`, the push's index will be appended to the widget's osc `address`; if `false` it will be prepended to the widget's `preArgs`
|
||||
|
||||
#### `options`
|
||||
- see push's [`options`](buttons/#push)
|
||||
|
||||
|
||||
----
|
||||
## Keyboard
|
||||
|
||||
This one works pretty much like the multipush, excepts it looks like a piano keyboard ad
|
||||
|
||||
```js
|
||||
{
|
||||
type:'keyboard',
|
||||
// etc
|
||||
}
|
||||
```
|
||||
|
||||
#### `keys`
|
||||
- type: `integer`
|
||||
- default: `24`
|
||||
- usage: defines the number keys
|
||||
|
||||
#### `start`
|
||||
- type: `integer`
|
||||
- default: `60`
|
||||
- usage: MIDI note number to start with (default is C4)
|
||||
|
||||
|
||||
#### `traversing`
|
||||
- type: `boolean`
|
||||
- default: `true`
|
||||
- usage: enable traversing gestures
|
||||
|
||||
#### `split`
|
||||
- type: `boolean`
|
||||
- default: `false`
|
||||
- usage: if `true`, the note's midi code will be appended to the widget's osc `address`; if `false` it will be prepended to the widget's `preArgs`
|
||||
|
||||
#### `options`
|
||||
- see push's [`options`](buttons/#push)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue