The Synthesis primitive.
More...
| table Oscillator::getSliceInfo |
( |
int |
sliceId) | |
|
get slice information for the given sliceId.
- Returns
- returns the following table:
| property | type | unit |
| start | number | ms |
| duration | number | ms |
| beatPos | number | beats |
| beatDuration | number | beats |
| void Element::setParameter |
( |
string |
parameter, |
|
|
Value |
value |
|
) |
| |
|
inherited |
Sets an Element parameter.
- Parameters
-
| parameter | parameterName or parameterId |
| value | parameterValue (number|bool|string) according to definition |
- See Also
- Elements & parameters
| Value Element::getParameter |
( |
string |
parameter) | |
|
|
inherited |
Gets an Element parameter.
- Parameters
-
| parameter | parameterName or parameterId |
- Returns
- parameterValue (number|bool|string) according to definition
- See Also
- Elements & parameters
| bool Element::hasParameter |
( |
string |
parameter) | |
|
|
inherited |
| table Element::getParameterConnections |
( |
string |
parameter) | |
|
|
inherited |
| table Oscillator::looplabInfo |
looplab information.
Only valid for Slice oscillator, returns the following table:
| property | type |
| numerator | number |
| denominator | number |
| bars | number |
| beats | number |
| synced | boolean |
| numSlices | number |
| table Oscillator::sampleInfo |
sample information.
Only valid for sample based oscillators, returns the following table:
| property | type | unit | optional |
| name | string | | no |
| channels | number | | no |
| duration | number | ms | no |
| samplerate | number | Hz | no |
| bits | number | | no |
| tempo | number | bpm | no |
| start | number | ms | no |
| end | number | ms | no |
| looped | boolean | | no |
| loopStart | number | ms | yes |
| loopEnd | number | ms | yes |
| table Element::parameterDefinitions |
|
inherited |
table of parameter definitions.
returns the following table:
| property | type | optional |
| id | number | no |
| type | "int","float","bool","string" | no |
| default | type | no |
| displayName | string | no |
| description | string | no |
| readOnly | number | no |
| serialize | boolean | no |
| min | type | yes |
| max | type | yes |