@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2023-12-31T09:44:23Z
3
+ - **Last updated**: 2024-01-26T18:03:04Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -601,4 +601,4 @@ If this project contributes to an academic publication, please cite it as:
601
601
 
602
602
  ## License
603
603
 
604
- © 2015 - 2023 Karsten Schmidt // Apache License 2.0
604
+ © 2015 - 2024 Karsten Schmidt // Apache License 2.0
package/mul.d.ts CHANGED
@@ -4,7 +4,7 @@ import { AGen } from "./agen.js";
4
4
  * Returns new multiply gen, producing `y(t) = factor * y(t-1)`, using
5
5
  * given `factor` and `start` values.
6
6
  *
7
- * Also see {@link exp}.
7
+ * Also see {@link curve}.
8
8
  *
9
9
  * @param factor -
10
10
  * @param start -
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 fmodOsc} for
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.1",
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.16",
40
- "@thi.ng/checks": "^3.4.16",
41
- "@thi.ng/errors": "^2.4.10",
42
- "@thi.ng/math": "^5.7.11",
43
- "@thi.ng/random": "^3.6.23",
44
- "@thi.ng/transducers": "^8.8.20"
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": "b3db173682e1148cf08a6bd907b8d90b47b7c066\n"
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