@thi.ng/dsp 4.7.2 → 4.7.5

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**: 2024-01-23T15:58:27Z
3
+ - **Last updated**: 2024-01-29T21:04:46Z
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
@@ -7,9 +7,13 @@
7
7
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/dsp.svg)
8
8
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
9
9
 
10
- This is a standalone project, maintained as part of the
11
- [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo and
12
- anti-framework.
10
+ > [!NOTE]
11
+ > This is one of 189 standalone projects, maintained as part
12
+ > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
13
+ > and anti-framework.
14
+ >
15
+ > 🚀 Help me to work full-time on these projects by [sponsoring me on
16
+ > GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
13
17
 
14
18
  - [About](#about)
15
19
  - [Status](#status)
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.2",
3
+ "version": "4.7.5",
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.17",
40
- "@thi.ng/checks": "^3.4.17",
41
- "@thi.ng/errors": "^2.4.11",
42
- "@thi.ng/math": "^5.7.12",
43
- "@thi.ng/random": "^3.6.24",
44
- "@thi.ng/transducers": "^8.8.21"
39
+ "@thi.ng/api": "^8.9.20",
40
+ "@thi.ng/checks": "^3.4.20",
41
+ "@thi.ng/errors": "^2.4.13",
42
+ "@thi.ng/math": "^5.8.2",
43
+ "@thi.ng/random": "^3.6.27",
44
+ "@thi.ng/transducers": "^8.8.24"
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": "417b5a7ea7bd54a3b4f086fe0fc2ce8e8933c9b2\n"
291
+ "gitHead": "3fa30b2dc2de762f24fd64b881b68d4da33d4c38\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