![]() |
uvi-script
Musical event scripting with Lua
|
The Synthesis primitive. More...
Public Types | |
| enum | Parameters { Pitch , NoteTracking , BaseNote , Gain , CoarseTune , FineTune } |
| Oscillator Parameters. More... | |
Public Member Functions | |
| table | getSliceInfo (int sliceId) |
| get slice information for the given sliceId. | |
Public Member Functions inherited from Element | |
| void | setParameter (string parameter, Value value) |
| Sets an Element parameter. | |
| Value | getParameter (string parameter) |
| Gets an Element parameter. | |
| bool | hasParameter (string parameter) |
| table | getParameterConnections (string parameter) |
| Get all SignalConnection for this parameter. | |
Public Attributes | |
| Keygroup | keygroup |
| parent keygroup for this oscillator | |
| bool | purged |
| purged status for this oscillator (when true sample is not loaded in memory) | |
| int | numSlices |
| number of slices (only valid for Slice oscillator) | |
| table | looplabInfo |
| looplab information. | |
| table | sampleInfo |
| sample information. | |
Public Attributes inherited from Element | |
| string | name |
| internal element name | |
| string | displayName |
| name to display on the User Interface, name is used if displayName is not specified. | |
| string | type |
| internal element type | |
| Element & | parent |
| element parent | |
| table | children |
| element children using the element name as key | |
| string | output |
| output routing for the element | |
| int | numParams |
| number of parameters | |
| table | parameterDefinitions |
| table of parameter definitions. | |
The Synthesis primitive.
Oscillator Parameters.
| table Oscillator::getSliceInfo | ( | int | sliceId | ) |
get slice information for the given sliceId.
| property | type | unit |
|---|---|---|
| start | number | ms |
| duration | number | ms |
| beatPos | number | beats |
| beatDuration | number | beats |
| 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 |