classItemizedParam
Source: waax.
new ItemizedParam(options)
Itemized parameter abstraction. Usually called by WX.defineParams method.
Parameters
Name | Type | Optional | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
|
Parameter configruation. Values in
|
Methods
staticget() → Number
Returns the paramter value. Note that this is not a computed value of WA AudioParam instance.
- Returns
-
Number
Latest paramter value.
staticgetModel() → Array
Returns the reference of items (WAAX model).
- Returns
-
Array
WAAX model associated with the parameter.
staticinit(options)
Initializes instance with options.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
options |
Object |
|
Paramter configuration. |
staticset(value, time, rampType)
Sets parameter value with time and ramp type. Calls back a corresponding handler.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
value |
Number |
|
Parameter target value |
time |
(Number or Array) |
|
time or array of
|
rampType |
Number |
|
WAAX ramp type |