@onda-lang/webaudio 0.8.19 → 0.8.20

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.
Files changed (2) hide show
  1. package/api.md +6 -1
  2. package/package.json +2 -2
package/api.md CHANGED
@@ -77,7 +77,12 @@ The returned instance provides:
77
77
  - `sendLspMessage(message)` and `setLspAnalysisOptions(options?)` for the embedded language server.
78
78
  - `dispose()`, an idempotent terminal release of compiler and worker resources.
79
79
 
80
- Compile options accept `sampleRate`, `blockSize`, typed compile-constant overrides, and `codegen`.
80
+ Compile options accept `sampleRate`, `blockSize`, `defaultParamSmoothingSeconds`, typed
81
+ compile-constant overrides, and `codegen`. `defaultParamSmoothingSeconds` defaults to `0` and must
82
+ be finite and non-negative. It applies to floating-point top-level parameters that omit `smooth`;
83
+ explicit metadata, including `smooth = 0`, takes precedence. Positive values specify block-rate
84
+ linear ramp durations, rounded up to at least one host sample; the sample count must fit signed
85
+ 64-bit storage.
81
86
  Code generation can select optimization level `0..4`, shrink level `0..2`, strict or fast math,
82
87
  SIMD, loop-containing inlining, and optional WAT emission. A successful compilation returns an
83
88
  `OndaCompilationResult` containing the artifact, resolved source paths, and the exact source graph
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onda-lang/webaudio",
3
- "version": "0.8.19",
3
+ "version": "0.8.20",
4
4
  "type": "module",
5
5
  "description": "Optional Web Audio adapter for Onda processor WebAssembly artifacts",
6
6
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  "prepack": "node ../../scripts/stage-web-api-docs.mjs"
35
35
  },
36
36
  "dependencies": {
37
- "@onda-lang/processor-abi": "0.8.19"
37
+ "@onda-lang/processor-abi": "0.8.20"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"