@onda-lang/processor-abi 0.8.21 → 0.8.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.md +4 -0
- package/package.json +1 -1
package/api.md
CHANGED
|
@@ -223,6 +223,10 @@ The adapter exposes its `node` and validated `metadata`, plus these operations:
|
|
|
223
223
|
- `setParam(nameOrIndex, plain)` and `setParamNormalized(nameOrIndex, normalized)` for whole
|
|
224
224
|
parameters.
|
|
225
225
|
- `resetParams()` to restore parameter defaults immediately and cancel host ramps, retaining DSP state.
|
|
226
|
+
- `setParamSmoothingSeconds(seconds)` to change the host duration live without recompiling or
|
|
227
|
+
reinitializing DSP state. Finite, nonnegative durations are required. Active ramps restart from
|
|
228
|
+
their current values using the new duration; 0 (or a duration at most one block) settles their
|
|
229
|
+
targets immediately. Smoothing can be enabled after starting with 0.
|
|
226
230
|
- `setParamElement(nameOrIndex, element, plain)` and
|
|
227
231
|
`setParamElementNormalized(nameOrIndex, element, normalized)` for one scalar or fixed-array
|
|
228
232
|
element.
|