@thi.ng/dsp 4.7.1 → 4.7.3
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/CHANGELOG.md +1 -1
- package/README.md +1 -1
- package/mul.d.ts +1 -1
- package/osc.d.ts +1 -1
- package/package.json +8 -8
- package/pink-noise.d.ts +1 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
package/mul.d.ts
CHANGED
package/osc.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import type { IGen, StatelessOscillator } from "./api.js";
|
|
|
10
10
|
* If `freq` is a number, it must be given as normalized frequency (same for
|
|
11
11
|
* `phase`). If `freq` is an `IGen`, it must be configured to produce normalized
|
|
12
12
|
* frequency values (e.g. if using an `Osc` by setting its `amp` to a normalized
|
|
13
|
-
* freq and its `dc` offset to `baseFreq * TAU`). Also see {@link
|
|
13
|
+
* freq and its `dc` offset to `baseFreq * TAU`). Also see {@link modOsc} for
|
|
14
14
|
* syntax sugar. The `phase` arg is only used if `freq` is NOT an `IGen`.
|
|
15
15
|
*
|
|
16
16
|
* The oscillator initializes to zero and its
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/dsp",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.3",
|
|
4
4
|
"description": "Composable signal generators, oscillators, filters, FFT, spectrum, windowing & related DSP utils",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"tool:diagrams": "bun tools/generate-diagrams.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.9.
|
|
40
|
-
"@thi.ng/checks": "^3.4.
|
|
41
|
-
"@thi.ng/errors": "^2.4.
|
|
42
|
-
"@thi.ng/math": "^5.
|
|
43
|
-
"@thi.ng/random": "^3.6.
|
|
44
|
-
"@thi.ng/transducers": "^8.8.
|
|
39
|
+
"@thi.ng/api": "^8.9.18",
|
|
40
|
+
"@thi.ng/checks": "^3.4.18",
|
|
41
|
+
"@thi.ng/errors": "^2.4.11",
|
|
42
|
+
"@thi.ng/math": "^5.8.0",
|
|
43
|
+
"@thi.ng/random": "^3.6.25",
|
|
44
|
+
"@thi.ng/transducers": "^8.8.22"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@microsoft/api-extractor": "^7.39.0",
|
|
@@ -288,5 +288,5 @@
|
|
|
288
288
|
],
|
|
289
289
|
"year": 2015
|
|
290
290
|
},
|
|
291
|
-
"gitHead": "
|
|
291
|
+
"gitHead": "7426e2ae6fca5482c6eaf649872296fc89955374\n"
|
|
292
292
|
}
|
package/pink-noise.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IReset, Tuple } from "@thi.ng/api";
|
|
2
2
|
import type { IRandom } from "@thi.ng/random";
|
|
3
3
|
import { AGen } from "./agen.js";
|
|
4
|
-
type PNoiseCoeffs = Tuple<number, 5>;
|
|
4
|
+
export type PNoiseCoeffs = Tuple<number, 5>;
|
|
5
5
|
/**
|
|
6
6
|
* Pink noise generator with customizable frequency distribution. The
|
|
7
7
|
* default config produces a power spectrum roughly following the `1/f`
|
|
@@ -37,5 +37,4 @@ export declare class PinkNoise extends AGen<number> implements IReset {
|
|
|
37
37
|
reset(): this;
|
|
38
38
|
next(): number;
|
|
39
39
|
}
|
|
40
|
-
export {};
|
|
41
40
|
//# sourceMappingURL=pink-noise.d.ts.map
|