@thi.ng/dsp 4.7.89 → 4.7.93

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/package.json +295 -295
  2. package/CHANGELOG.md +0 -91
package/package.json CHANGED
@@ -1,296 +1,296 @@
1
1
  {
2
- "name": "@thi.ng/dsp",
3
- "version": "4.7.89",
4
- "description": "Composable signal generators, oscillators, filters, FFT, spectrum, windowing & related DSP utils",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
12
- },
13
- "homepage": "https://thi.ng/dsp",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- },
23
- {
24
- "type": "liberapay",
25
- "url": "https://liberapay.com/thi.ng"
26
- }
27
- ],
28
- "author": "Karsten Schmidt (https://thi.ng)",
29
- "license": "Apache-2.0",
30
- "scripts": {
31
- "build": "yarn build:esbuild && yarn build:decl",
32
- "build:decl": "tsc --declaration --emitDeclarationOnly",
33
- "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
- "clean": "bun ../../tools/src/clean-package.ts",
35
- "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
- "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
- "pub": "yarn npm publish --access public",
38
- "test": "bun test",
39
- "tool:diagrams": "bun tools/generate-diagrams.ts",
40
- "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
- },
42
- "dependencies": {
43
- "@thi.ng/api": "^8.12.2",
44
- "@thi.ng/checks": "^3.7.18",
45
- "@thi.ng/errors": "^2.5.42",
46
- "@thi.ng/math": "^5.12.0",
47
- "@thi.ng/random": "^4.1.27",
48
- "@thi.ng/transducers": "^9.6.10"
49
- },
50
- "devDependencies": {
51
- "esbuild": "^0.25.9",
52
- "typedoc": "^0.28.12",
53
- "typescript": "^5.9.2"
54
- },
55
- "keywords": [
56
- "allpass",
57
- "analysis",
58
- "audio",
59
- "biquad",
60
- "channel",
61
- "clipping",
62
- "composition",
63
- "datastructure",
64
- "delay",
65
- "dsp",
66
- "envelope",
67
- "feedback",
68
- "fft",
69
- "filter",
70
- "frequency",
71
- "generator",
72
- "impulse",
73
- "iterator",
74
- "lfo",
75
- "math",
76
- "noise",
77
- "oscillator",
78
- "signal",
79
- "svf",
80
- "synthesis",
81
- "typescript",
82
- "waveform",
83
- "waveshaper",
84
- "windowing"
85
- ],
86
- "publishConfig": {
87
- "access": "public"
88
- },
89
- "engines": {
90
- "node": ">=18"
91
- },
92
- "files": [
93
- "./*.js",
94
- "./*.d.ts",
95
- "internal"
96
- ],
97
- "exports": {
98
- ".": {
99
- "default": "./index.js"
100
- },
101
- "./add": {
102
- "default": "./add.js"
103
- },
104
- "./addg": {
105
- "default": "./addg.js"
106
- },
107
- "./adsr": {
108
- "default": "./adsr.js"
109
- },
110
- "./agen": {
111
- "default": "./agen.js"
112
- },
113
- "./allpass": {
114
- "default": "./allpass.js"
115
- },
116
- "./alt": {
117
- "default": "./alt.js"
118
- },
119
- "./anti-alias": {
120
- "default": "./anti-alias.js"
121
- },
122
- "./api": {
123
- "default": "./api.js"
124
- },
125
- "./aproc": {
126
- "default": "./aproc.js"
127
- },
128
- "./biquad": {
129
- "default": "./biquad.js"
130
- },
131
- "./bounce": {
132
- "default": "./bounce.js"
133
- },
134
- "./complex": {
135
- "default": "./complex.js"
136
- },
137
- "./const": {
138
- "default": "./const.js"
139
- },
140
- "./convert": {
141
- "default": "./convert.js"
142
- },
143
- "./cosine": {
144
- "default": "./cosine.js"
145
- },
146
- "./curve": {
147
- "default": "./curve.js"
148
- },
149
- "./dcblock": {
150
- "default": "./dcblock.js"
151
- },
152
- "./delay": {
153
- "default": "./delay.js"
154
- },
155
- "./feedback-delay": {
156
- "default": "./feedback-delay.js"
157
- },
158
- "./fft": {
159
- "default": "./fft.js"
160
- },
161
- "./filter-delay": {
162
- "default": "./filter-delay.js"
163
- },
164
- "./filter-response": {
165
- "default": "./filter-response.js"
166
- },
167
- "./foldback": {
168
- "default": "./foldback.js"
169
- },
170
- "./impulse-train": {
171
- "default": "./impulse-train.js"
172
- },
173
- "./impulse": {
174
- "default": "./impulse.js"
175
- },
176
- "./integrator": {
177
- "default": "./integrator.js"
178
- },
179
- "./iterable": {
180
- "default": "./iterable.js"
181
- },
182
- "./line": {
183
- "default": "./line.js"
184
- },
185
- "./madd": {
186
- "default": "./madd.js"
187
- },
188
- "./mapg": {
189
- "default": "./mapg.js"
190
- },
191
- "./merge": {
192
- "default": "./merge.js"
193
- },
194
- "./mix": {
195
- "default": "./mix.js"
196
- },
197
- "./mul": {
198
- "default": "./mul.js"
199
- },
200
- "./multiplex": {
201
- "default": "./multiplex.js"
202
- },
203
- "./onepole": {
204
- "default": "./onepole.js"
205
- },
206
- "./osc-additive": {
207
- "default": "./osc-additive.js"
208
- },
209
- "./osc-cos": {
210
- "default": "./osc-cos.js"
211
- },
212
- "./osc-dsf": {
213
- "default": "./osc-dsf.js"
214
- },
215
- "./osc-mix": {
216
- "default": "./osc-mix.js"
217
- },
218
- "./osc-parabolic": {
219
- "default": "./osc-parabolic.js"
220
- },
221
- "./osc-rect": {
222
- "default": "./osc-rect.js"
223
- },
224
- "./osc-saw": {
225
- "default": "./osc-saw.js"
226
- },
227
- "./osc-sin": {
228
- "default": "./osc-sin.js"
229
- },
230
- "./osc-square-sin": {
231
- "default": "./osc-square-sin.js"
232
- },
233
- "./osc-tri": {
234
- "default": "./osc-tri.js"
235
- },
236
- "./osc-wavetable": {
237
- "default": "./osc-wavetable.js"
238
- },
239
- "./osc": {
240
- "default": "./osc.js"
241
- },
242
- "./pan": {
243
- "default": "./pan.js"
244
- },
245
- "./pink-noise": {
246
- "default": "./pink-noise.js"
247
- },
248
- "./pipe": {
249
- "default": "./pipe.js"
250
- },
251
- "./power": {
252
- "default": "./power.js"
253
- },
254
- "./product": {
255
- "default": "./product.js"
256
- },
257
- "./reciprocal": {
258
- "default": "./reciprocal.js"
259
- },
260
- "./ref": {
261
- "default": "./ref.js"
262
- },
263
- "./serial": {
264
- "default": "./serial.js"
265
- },
266
- "./sincos": {
267
- "default": "./sincos.js"
268
- },
269
- "./sum": {
270
- "default": "./sum.js"
271
- },
272
- "./svf": {
273
- "default": "./svf.js"
274
- },
275
- "./sweep": {
276
- "default": "./sweep.js"
277
- },
278
- "./waveshaper": {
279
- "default": "./waveshaper.js"
280
- },
281
- "./white-noise": {
282
- "default": "./white-noise.js"
283
- },
284
- "./window": {
285
- "default": "./window.js"
286
- }
287
- },
288
- "thi.ng": {
289
- "related": [
290
- "math"
291
- ],
292
- "year": 2015,
293
- "screenshot": "dsp/dsf-allpass1.png"
294
- },
295
- "gitHead": "b7ede4f099767e0175ea8e09257208f73970b220\n"
296
- }
2
+ "name": "@thi.ng/dsp",
3
+ "version": "4.7.93",
4
+ "description": "Composable signal generators, oscillators, filters, FFT, spectrum, windowing & related DSP utils",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://thi.ng/dsp",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
18
+ },
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ },
23
+ {
24
+ "type": "liberapay",
25
+ "url": "https://liberapay.com/thi.ng"
26
+ }
27
+ ],
28
+ "author": "Karsten Schmidt (https://thi.ng)",
29
+ "license": "Apache-2.0",
30
+ "scripts": {
31
+ "build": "yarn build:esbuild && yarn build:decl",
32
+ "build:decl": "tsc --declaration --emitDeclarationOnly",
33
+ "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
+ "clean": "bun ../../tools/src/clean-package.ts",
35
+ "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
+ "pub": "npm publish --access public",
38
+ "test": "bun test",
39
+ "tool:diagrams": "bun tools/generate-diagrams.ts",
40
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
+ },
42
+ "dependencies": {
43
+ "@thi.ng/api": "^8.12.6",
44
+ "@thi.ng/checks": "^3.7.22",
45
+ "@thi.ng/errors": "^2.5.46",
46
+ "@thi.ng/math": "^5.13.3",
47
+ "@thi.ng/random": "^4.1.31",
48
+ "@thi.ng/transducers": "^9.6.14"
49
+ },
50
+ "devDependencies": {
51
+ "esbuild": "^0.25.11",
52
+ "typedoc": "^0.28.14",
53
+ "typescript": "^5.9.3"
54
+ },
55
+ "keywords": [
56
+ "allpass",
57
+ "analysis",
58
+ "audio",
59
+ "biquad",
60
+ "channel",
61
+ "clipping",
62
+ "composition",
63
+ "datastructure",
64
+ "delay",
65
+ "dsp",
66
+ "envelope",
67
+ "feedback",
68
+ "fft",
69
+ "filter",
70
+ "frequency",
71
+ "generator",
72
+ "impulse",
73
+ "iterator",
74
+ "lfo",
75
+ "math",
76
+ "noise",
77
+ "oscillator",
78
+ "signal",
79
+ "svf",
80
+ "synthesis",
81
+ "typescript",
82
+ "waveform",
83
+ "waveshaper",
84
+ "windowing"
85
+ ],
86
+ "publishConfig": {
87
+ "access": "public"
88
+ },
89
+ "engines": {
90
+ "node": ">=18"
91
+ },
92
+ "files": [
93
+ "./*.js",
94
+ "./*.d.ts",
95
+ "internal"
96
+ ],
97
+ "exports": {
98
+ ".": {
99
+ "default": "./index.js"
100
+ },
101
+ "./add": {
102
+ "default": "./add.js"
103
+ },
104
+ "./addg": {
105
+ "default": "./addg.js"
106
+ },
107
+ "./adsr": {
108
+ "default": "./adsr.js"
109
+ },
110
+ "./agen": {
111
+ "default": "./agen.js"
112
+ },
113
+ "./allpass": {
114
+ "default": "./allpass.js"
115
+ },
116
+ "./alt": {
117
+ "default": "./alt.js"
118
+ },
119
+ "./anti-alias": {
120
+ "default": "./anti-alias.js"
121
+ },
122
+ "./api": {
123
+ "default": "./api.js"
124
+ },
125
+ "./aproc": {
126
+ "default": "./aproc.js"
127
+ },
128
+ "./biquad": {
129
+ "default": "./biquad.js"
130
+ },
131
+ "./bounce": {
132
+ "default": "./bounce.js"
133
+ },
134
+ "./complex": {
135
+ "default": "./complex.js"
136
+ },
137
+ "./const": {
138
+ "default": "./const.js"
139
+ },
140
+ "./convert": {
141
+ "default": "./convert.js"
142
+ },
143
+ "./cosine": {
144
+ "default": "./cosine.js"
145
+ },
146
+ "./curve": {
147
+ "default": "./curve.js"
148
+ },
149
+ "./dcblock": {
150
+ "default": "./dcblock.js"
151
+ },
152
+ "./delay": {
153
+ "default": "./delay.js"
154
+ },
155
+ "./feedback-delay": {
156
+ "default": "./feedback-delay.js"
157
+ },
158
+ "./fft": {
159
+ "default": "./fft.js"
160
+ },
161
+ "./filter-delay": {
162
+ "default": "./filter-delay.js"
163
+ },
164
+ "./filter-response": {
165
+ "default": "./filter-response.js"
166
+ },
167
+ "./foldback": {
168
+ "default": "./foldback.js"
169
+ },
170
+ "./impulse-train": {
171
+ "default": "./impulse-train.js"
172
+ },
173
+ "./impulse": {
174
+ "default": "./impulse.js"
175
+ },
176
+ "./integrator": {
177
+ "default": "./integrator.js"
178
+ },
179
+ "./iterable": {
180
+ "default": "./iterable.js"
181
+ },
182
+ "./line": {
183
+ "default": "./line.js"
184
+ },
185
+ "./madd": {
186
+ "default": "./madd.js"
187
+ },
188
+ "./mapg": {
189
+ "default": "./mapg.js"
190
+ },
191
+ "./merge": {
192
+ "default": "./merge.js"
193
+ },
194
+ "./mix": {
195
+ "default": "./mix.js"
196
+ },
197
+ "./mul": {
198
+ "default": "./mul.js"
199
+ },
200
+ "./multiplex": {
201
+ "default": "./multiplex.js"
202
+ },
203
+ "./onepole": {
204
+ "default": "./onepole.js"
205
+ },
206
+ "./osc-additive": {
207
+ "default": "./osc-additive.js"
208
+ },
209
+ "./osc-cos": {
210
+ "default": "./osc-cos.js"
211
+ },
212
+ "./osc-dsf": {
213
+ "default": "./osc-dsf.js"
214
+ },
215
+ "./osc-mix": {
216
+ "default": "./osc-mix.js"
217
+ },
218
+ "./osc-parabolic": {
219
+ "default": "./osc-parabolic.js"
220
+ },
221
+ "./osc-rect": {
222
+ "default": "./osc-rect.js"
223
+ },
224
+ "./osc-saw": {
225
+ "default": "./osc-saw.js"
226
+ },
227
+ "./osc-sin": {
228
+ "default": "./osc-sin.js"
229
+ },
230
+ "./osc-square-sin": {
231
+ "default": "./osc-square-sin.js"
232
+ },
233
+ "./osc-tri": {
234
+ "default": "./osc-tri.js"
235
+ },
236
+ "./osc-wavetable": {
237
+ "default": "./osc-wavetable.js"
238
+ },
239
+ "./osc": {
240
+ "default": "./osc.js"
241
+ },
242
+ "./pan": {
243
+ "default": "./pan.js"
244
+ },
245
+ "./pink-noise": {
246
+ "default": "./pink-noise.js"
247
+ },
248
+ "./pipe": {
249
+ "default": "./pipe.js"
250
+ },
251
+ "./power": {
252
+ "default": "./power.js"
253
+ },
254
+ "./product": {
255
+ "default": "./product.js"
256
+ },
257
+ "./reciprocal": {
258
+ "default": "./reciprocal.js"
259
+ },
260
+ "./ref": {
261
+ "default": "./ref.js"
262
+ },
263
+ "./serial": {
264
+ "default": "./serial.js"
265
+ },
266
+ "./sincos": {
267
+ "default": "./sincos.js"
268
+ },
269
+ "./sum": {
270
+ "default": "./sum.js"
271
+ },
272
+ "./svf": {
273
+ "default": "./svf.js"
274
+ },
275
+ "./sweep": {
276
+ "default": "./sweep.js"
277
+ },
278
+ "./waveshaper": {
279
+ "default": "./waveshaper.js"
280
+ },
281
+ "./white-noise": {
282
+ "default": "./white-noise.js"
283
+ },
284
+ "./window": {
285
+ "default": "./window.js"
286
+ }
287
+ },
288
+ "thi.ng": {
289
+ "related": [
290
+ "math"
291
+ ],
292
+ "year": 2015,
293
+ "screenshot": "dsp/dsf-allpass1.png"
294
+ },
295
+ "gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
296
+ }
package/CHANGELOG.md DELETED
@@ -1,91 +0,0 @@
1
- # Change Log
2
-
3
- - **Last updated**: 2025-09-01T16:38:35Z
4
- - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
-
6
- All notable changes to this project will be documented in this file.
7
- Only versions published since **2022-01-01** are listed here.
8
- Please consult the Git history for older version information.
9
- See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
10
-
11
- **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
- and/or version bumps of transitive dependencies.
13
-
14
- ### [4.7.34](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@4.7.34) (2024-06-21)
15
-
16
- #### ♻️ Refactoring
17
-
18
- - rename various rest args to be more semantically meaningful ([8088a56](https://github.com/thi-ng/umbrella/commit/8088a56))
19
- - enforce uniform naming convention of internal functions ([56992b2](https://github.com/thi-ng/umbrella/commit/56992b2))
20
-
21
- ### [4.7.30](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@4.7.30) (2024-04-20)
22
-
23
- #### ♻️ Refactoring
24
-
25
- - update type usage ([86be0c3](https://github.com/thi-ng/umbrella/commit/86be0c3))
26
-
27
- ## [4.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@4.7.0) (2023-12-28)
28
-
29
- #### 🚀 Features
30
-
31
- - add squareSin() oscillator ([f7f1b1a](https://github.com/thi-ng/umbrella/commit/f7f1b1a))
32
-
33
- ## [4.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@4.6.0) (2023-09-28)
34
-
35
- #### 🚀 Features
36
-
37
- - add IXform impl for AProc2 ([5aa6c9b](https://github.com/thi-ng/umbrella/commit/5aa6c9b))
38
- - add ICopy impls for various IGen's ([7894cd4](https://github.com/thi-ng/umbrella/commit/7894cd4))
39
- - add merge(), mix(), pan() ([314e9b2](https://github.com/thi-ng/umbrella/commit/314e9b2))
40
- - add refG()/refP() wrappers ([99f4535](https://github.com/thi-ng/umbrella/commit/99f4535))
41
-
42
- #### 🩹 Bug fixes
43
-
44
- - enforce integer delay time ([5c21b00](https://github.com/thi-ng/umbrella/commit/5c21b00))
45
- - return delayed value in Delay.next() ([f2b08db](https://github.com/thi-ng/umbrella/commit/f2b08db))
46
-
47
- #### ♻️ Refactoring
48
-
49
- - simplify pipe() to reuse serial() ([90910bc](https://github.com/thi-ng/umbrella/commit/90910bc))
50
-
51
- ## [4.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@4.5.0) (2023-09-15)
52
-
53
- #### 🚀 Features
54
-
55
- - update saw/squareAdditive() ([d11488c](https://github.com/thi-ng/umbrella/commit/d11488c))
56
- - add opt arg to disable Gibbs-effect handling
57
-
58
- ## [4.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@4.4.0) (2023-08-24)
59
-
60
- #### 🚀 Features
61
-
62
- - update modOsc() fmod arg type ([06b0e38](https://github.com/thi-ng/umbrella/commit/06b0e38))
63
- - allow numbers as constant freq offset
64
-
65
- ### [4.3.17](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@4.3.17) (2023-08-04)
66
-
67
- #### ♻️ Refactoring
68
-
69
- - update `identity` usage in various pkgs ([b6db053](https://github.com/thi-ng/umbrella/commit/b6db053))
70
-
71
- ## [4.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@4.3.0) (2023-01-10)
72
-
73
- #### 🚀 Features
74
-
75
- - add FilterFeedbackDelay ([d69b3bc](https://github.com/thi-ng/umbrella/commit/d69b3bc))
76
-
77
- ### [4.2.17](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@4.2.17) (2022-10-17)
78
-
79
- #### 🩹 Bug fixes
80
-
81
- - add missing opt args for modOsc() ([e67c110](https://github.com/thi-ng/umbrella/commit/e67c110))
82
-
83
- ## [4.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@4.2.0) (2022-04-07)
84
-
85
- #### 🚀 Features
86
-
87
- - add opt Osc() ctor phase arg, fix [#340](https://github.com/thi-ng/umbrella/issues/340) ([f798c9d](https://github.com/thi-ng/umbrella/commit/f798c9d))
88
- - update osc() factory fn
89
- - update Osc.setFreq() signatures
90
- - add tests
91
- - add/update docs