@thi.ng/dsp 4.7.58 → 4.7.60
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 +3 -236
- package/package.json +9 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2025-01-
|
|
3
|
+
- **Last updated**: 2025-01-23T13:39:11Z
|
|
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.
|
|
7
|
+
Only versions published since **2022-01-01** are listed here.
|
|
8
|
+
Please consult the Git history for older version information.
|
|
7
9
|
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
8
10
|
|
|
9
11
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
@@ -87,238 +89,3 @@ and/or version bumps of transitive dependencies.
|
|
|
87
89
|
- update Osc.setFreq() signatures
|
|
88
90
|
- add tests
|
|
89
91
|
- add/update docs
|
|
90
|
-
|
|
91
|
-
## [4.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@4.1.0) (2021-11-17)
|
|
92
|
-
|
|
93
|
-
#### 🚀 Features
|
|
94
|
-
|
|
95
|
-
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
|
|
96
|
-
Improving the overall build ergonomics
|
|
97
|
-
- introduced a tools workspaces
|
|
98
|
-
- imported it in all needed packages/examples
|
|
99
|
-
- inclusive project root
|
|
100
|
-
|
|
101
|
-
#### ♻️ Refactoring
|
|
102
|
-
|
|
103
|
-
- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
|
|
104
|
-
this commit reverts (partly) changes made in:
|
|
105
|
-
ef346d7a8753590dc9094108a3d861a8dbd5dd2c
|
|
106
|
-
overall purpose is better testament ergonomics:
|
|
107
|
-
instead of having to pass NODE_OPTIONS with every invocation
|
|
108
|
-
having a binary to handle this for us.
|
|
109
|
-
|
|
110
|
-
### [4.0.8](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@4.0.8) (2021-11-10)
|
|
111
|
-
|
|
112
|
-
#### ♻️ Refactoring
|
|
113
|
-
|
|
114
|
-
- update all countdown loops ([a5f374b](https://github.com/thi-ng/umbrella/commit/a5f374b))
|
|
115
|
-
|
|
116
|
-
### [4.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@4.0.1) (2021-10-13)
|
|
117
|
-
|
|
118
|
-
#### ♻️ Refactoring
|
|
119
|
-
|
|
120
|
-
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
121
|
-
- add .js suffix for all relative imports
|
|
122
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
123
|
-
|
|
124
|
-
# [4.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@4.0.0) (2021-10-12)
|
|
125
|
-
|
|
126
|
-
#### 🛑 Breaking changes
|
|
127
|
-
|
|
128
|
-
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
|
|
129
|
-
- BREAKING CHANGE: discontinue CommonJS & UMD versions
|
|
130
|
-
- only ESM modules will be published from now on
|
|
131
|
-
- CJS obsolete due to ESM support in recent versions of node:
|
|
132
|
-
- i.e. launch NodeJS via:
|
|
133
|
-
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
134
|
-
- in the node REPL use `await import(...)` instead of `require()`
|
|
135
|
-
- UMD obsolete due to widespread browser support for ESM
|
|
136
|
-
Also:
|
|
137
|
-
- normalize/restructure/reorg all package.json files
|
|
138
|
-
- cleanup all build scripts, remove obsolete
|
|
139
|
-
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
|
|
140
|
-
- restructure/flatten /src folder, add ops ([c001e6f](https://github.com/thi-ng/umbrella/commit/c001e6f))
|
|
141
|
-
- BREAKING CHANGE: restructure pkg, add/rename ops
|
|
142
|
-
- dissolve all subfolders
|
|
143
|
-
- add bounce()
|
|
144
|
-
- rename `compP()` => `serial()`
|
|
145
|
-
- add docs
|
|
146
|
-
|
|
147
|
-
#### ♻️ Refactoring
|
|
148
|
-
|
|
149
|
-
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
150
|
-
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
151
|
-
- update imports ([02f1cf7](https://github.com/thi-ng/umbrella/commit/02f1cf7))
|
|
152
|
-
- update imports (transducers) ([6e7bf71](https://github.com/thi-ng/umbrella/commit/6e7bf71))
|
|
153
|
-
- dedupe IGen.take() impls ([55ba0f9](https://github.com/thi-ng/umbrella/commit/55ba0f9))
|
|
154
|
-
|
|
155
|
-
# [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@3.0.0) (2020-12-22)
|
|
156
|
-
|
|
157
|
-
#### 🛑 Breaking changes
|
|
158
|
-
|
|
159
|
-
- add/update various FFT & spectrum fns (fix [#258](https://github.com/thi-ng/umbrella/issues/258)) ([e351acb](https://github.com/thi-ng/umbrella/commit/e351acb))
|
|
160
|
-
- BREAKING CHANGE: new args for normalizeFFT(),denormalizeFFT(), spectrumPow()
|
|
161
|
-
- add support for windowing adjustments in above functions
|
|
162
|
-
- add thresholdFFT()
|
|
163
|
-
- add copyComplex()
|
|
164
|
-
- update various real/complex checks using isComplex()
|
|
165
|
-
- update docs, add references
|
|
166
|
-
- fix [#256](https://github.com/thi-ng/umbrella/issues/256) replace enums w/ type aliases ([b9cfacb](https://github.com/thi-ng/umbrella/commit/b9cfacb))
|
|
167
|
-
- BREAKING CHANGE: replace filter type enums w/ type aliases
|
|
168
|
-
- FilterType
|
|
169
|
-
- BiquadType
|
|
170
|
-
- SVFType
|
|
171
|
-
- OnepoleType
|
|
172
|
-
|
|
173
|
-
#### 🚀 Features
|
|
174
|
-
|
|
175
|
-
- add power & integral fns ([88edaac](https://github.com/thi-ng/umbrella/commit/88edaac))
|
|
176
|
-
- add power functions:
|
|
177
|
-
- powerSumSquared()
|
|
178
|
-
- powerMeanSquared()
|
|
179
|
-
- powerTimeIntegral()
|
|
180
|
-
- add integralF/T()
|
|
181
|
-
- add isComplex() check
|
|
182
|
-
- add cos() stateless oscillator ([276c6b7](https://github.com/thi-ng/umbrella/commit/276c6b7))
|
|
183
|
-
- add applyWindow(), windowBartlett() ([d51a17c](https://github.com/thi-ng/umbrella/commit/d51a17c))
|
|
184
|
-
- add/update power & integral fns ([f455fad](https://github.com/thi-ng/umbrella/commit/f455fad))
|
|
185
|
-
- add windowWelch(), add docs ([84cd476](https://github.com/thi-ng/umbrella/commit/84cd476))
|
|
186
|
-
|
|
187
|
-
#### ♻️ Refactoring
|
|
188
|
-
|
|
189
|
-
- update spectrumPow() arg order ([be1b615](https://github.com/thi-ng/umbrella/commit/be1b615))
|
|
190
|
-
- swap `window` & `n` args, since `window` more likely to be provided
|
|
191
|
-
|
|
192
|
-
### [2.1.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@2.1.5) (2020-12-07)
|
|
193
|
-
|
|
194
|
-
#### ♻️ Refactoring
|
|
195
|
-
|
|
196
|
-
- update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
|
|
197
|
-
- update type-only imports in remaining pkgs ([b22aa30](https://github.com/thi-ng/umbrella/commit/b22aa30))
|
|
198
|
-
|
|
199
|
-
### [2.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@2.1.1) (2020-09-13)
|
|
200
|
-
|
|
201
|
-
#### ♻️ Refactoring
|
|
202
|
-
|
|
203
|
-
- update deps, imports, use new Fn types ([683b4e9](https://github.com/thi-ng/umbrella/commit/683b4e9))
|
|
204
|
-
- update imports ([28bfb3c](https://github.com/thi-ng/umbrella/commit/28bfb3c))
|
|
205
|
-
|
|
206
|
-
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@2.1.0) (2020-08-28)
|
|
207
|
-
|
|
208
|
-
#### 🚀 Features
|
|
209
|
-
|
|
210
|
-
- add iterable() wrapper ([94fb8ed](https://github.com/thi-ng/umbrella/commit/94fb8ed))
|
|
211
|
-
|
|
212
|
-
### [2.0.8](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@2.0.8) (2020-04-05)
|
|
213
|
-
|
|
214
|
-
#### ♻️ Refactoring
|
|
215
|
-
|
|
216
|
-
- switch to non-const enums ([8350c0e](https://github.com/thi-ng/umbrella/commit/8350c0e))
|
|
217
|
-
|
|
218
|
-
### [2.0.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@2.0.2) (2020-02-25)
|
|
219
|
-
|
|
220
|
-
#### ♻️ Refactoring
|
|
221
|
-
|
|
222
|
-
- update imports, internal restruct ([7872146](https://github.com/thi-ng/umbrella/commit/7872146))
|
|
223
|
-
|
|
224
|
-
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@2.0.0) (2020-01-24)
|
|
225
|
-
|
|
226
|
-
#### 🛑 Breaking changes
|
|
227
|
-
|
|
228
|
-
- remove obsolete classes ([aa24c1e](https://github.com/thi-ng/umbrella/commit/aa24c1e))
|
|
229
|
-
- BREAKING CHANGE: remove obsolete Oscillator/AMFMOscillator
|
|
230
|
-
(superceded by osc()/modOsc())
|
|
231
|
-
|
|
232
|
-
#### 🚀 Features
|
|
233
|
-
|
|
234
|
-
- add fft, spectrum and window fns, add tests ([f918af4](https://github.com/thi-ng/umbrella/commit/f918af4))
|
|
235
|
-
- add/update FFT fns, test, update docs ([1ac9508](https://github.com/thi-ng/umbrella/commit/1ac9508))
|
|
236
|
-
- add LFO sin/cos iterator/osc, minor refactor window fns ([dc89204](https://github.com/thi-ng/umbrella/commit/dc89204))
|
|
237
|
-
- add DelayLine ([bd25cd7](https://github.com/thi-ng/umbrella/commit/bd25cd7))
|
|
238
|
-
- update DelayLine ctor, freqBin, update pkg ([228a81e](https://github.com/thi-ng/umbrella/commit/228a81e))
|
|
239
|
-
- import gen & proc nodes, general pkg restructure ([a85c3cf](https://github.com/thi-ng/umbrella/commit/a85c3cf))
|
|
240
|
-
- add filters, refactor, update pkg/docs/readme ([7758609](https://github.com/thi-ng/umbrella/commit/7758609))
|
|
241
|
-
- add AllPass1/2 filters
|
|
242
|
-
- add abstract ATwoPole class
|
|
243
|
-
- fix OnePole HPF impl
|
|
244
|
-
- update protected field names
|
|
245
|
-
- add/update filters, filter resp, delay ([2854b09](https://github.com/thi-ng/umbrella/commit/2854b09))
|
|
246
|
-
- add/optimize Biquad & SVF impls
|
|
247
|
-
- add DCBlocker
|
|
248
|
-
- add FeedbackDelay
|
|
249
|
-
- add filter response types & utils
|
|
250
|
-
- add/rename conversion fns
|
|
251
|
-
- add new operators ([68a88e4](https://github.com/thi-ng/umbrella/commit/68a88e4))
|
|
252
|
-
Generators:
|
|
253
|
-
- ADSR
|
|
254
|
-
- SinCos (replaces old lfo())
|
|
255
|
-
- PinkNoise
|
|
256
|
-
- WhiteNoise
|
|
257
|
-
Processors:
|
|
258
|
-
- Foldback
|
|
259
|
-
- Mix
|
|
260
|
-
- WaveShaper
|
|
261
|
-
Oscillators:
|
|
262
|
-
- Discrete Summation (DSF, stateless)
|
|
263
|
-
- update all gens/procs, housekeeping, docs ([e483245](https://github.com/thi-ng/umbrella/commit/e483245))
|
|
264
|
-
- add param accessors for all ops
|
|
265
|
-
- add IReset & impls for most gens/procs
|
|
266
|
-
- add Delay.multiTap()
|
|
267
|
-
- replace exp() w/ curve(), add curvature ctrl
|
|
268
|
-
- remove lfo(), wrapAround, ATwoPole/AllPass2
|
|
269
|
-
- add/rename oscillators ([8a826bf](https://github.com/thi-ng/umbrella/commit/8a826bf))
|
|
270
|
-
- add HOF versions for:
|
|
271
|
-
- dsfHOF
|
|
272
|
-
- mixOscHOF
|
|
273
|
-
- rectHOF
|
|
274
|
-
- rename comb => parabolic
|
|
275
|
-
- add missing factory fns, update docstrings ([3ede5af](https://github.com/thi-ng/umbrella/commit/3ede5af))
|
|
276
|
-
- add gen/proc composition ops, restructure ([8be2a5f](https://github.com/thi-ng/umbrella/commit/8be2a5f))
|
|
277
|
-
- move all composition ops to own subdir
|
|
278
|
-
- add `compP`, `multiplex`, `pipe` IProc composition
|
|
279
|
-
- add `IXform` impl for `AProc` to allow for direct use as transducer
|
|
280
|
-
- add/update `IReset` impls (re-use type from [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api))
|
|
281
|
-
- add sweep(), move curve(), minor refactor ([0b24d80](https://github.com/thi-ng/umbrella/commit/0b24d80))
|
|
282
|
-
- update gens to support clamping ([fe8f6f3](https://github.com/thi-ng/umbrella/commit/fe8f6f3))
|
|
283
|
-
- add opt clamping for add, mul, madd
|
|
284
|
-
- update curve, line and sweep
|
|
285
|
-
- update ADSR, add ADSROpts, auto-release ([16f41ec](https://github.com/thi-ng/umbrella/commit/16f41ec))
|
|
286
|
-
|
|
287
|
-
#### ♻️ Refactoring
|
|
288
|
-
|
|
289
|
-
- various minor additions, updates, renames, docs ([e5e1a22](https://github.com/thi-ng/umbrella/commit/e5e1a22))
|
|
290
|
-
- update/rename DelayLine => Delay ([ec0e521](https://github.com/thi-ng/umbrella/commit/ec0e521))
|
|
291
|
-
- update Delay to impl `IProc` interface
|
|
292
|
-
- add `IClear` impls for all current IProc impls
|
|
293
|
-
- rename compG => mapG ([95244dd](https://github.com/thi-ng/umbrella/commit/95244dd))
|
|
294
|
-
- restructure oscillators, fft, window, update gen-diagrams ([9efd69f](https://github.com/thi-ng/umbrella/commit/9efd69f))
|
|
295
|
-
|
|
296
|
-
### [1.0.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@1.0.10) (2019-04-26)
|
|
297
|
-
|
|
298
|
-
#### 🩹 Bug fixes
|
|
299
|
-
|
|
300
|
-
- fix tri() oscillator for negative phases ([c67c733](https://github.com/thi-ng/umbrella/commit/c67c733))
|
|
301
|
-
|
|
302
|
-
### [1.0.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@1.0.4) (2019-03-10)
|
|
303
|
-
|
|
304
|
-
#### ♻️ Refactoring
|
|
305
|
-
|
|
306
|
-
- update Fn args in various packages ([e453ac3](https://github.com/thi-ng/umbrella/commit/e453ac3))
|
|
307
|
-
|
|
308
|
-
# [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@1.0.0) (2019-01-21)
|
|
309
|
-
|
|
310
|
-
#### 🛑 Breaking changes
|
|
311
|
-
|
|
312
|
-
- update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
|
|
313
|
-
- BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
|
|
314
|
-
- build scripts now first build ES6 modules in package root, then call
|
|
315
|
-
`scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
|
|
316
|
-
- all imports MUST be updated to only refer to package level
|
|
317
|
-
(not individual files anymore). tree shaking in user land will get rid of
|
|
318
|
-
all unused imported symbols.
|
|
319
|
-
|
|
320
|
-
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@0.1.0) (2018-10-17)
|
|
321
|
-
|
|
322
|
-
#### 🚀 Features
|
|
323
|
-
|
|
324
|
-
- add oscillators as [@thi.ng/dsp](https://github.com/thi-ng/umbrella/tree/main/packages/dsp) package (from synstack / VEX) ([889730f](https://github.com/thi-ng/umbrella/commit/889730f))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/dsp",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.60",
|
|
4
4
|
"description": "Composable signal generators, oscillators, filters, FFT, spectrum, windowing & related DSP utils",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -41,18 +41,17 @@
|
|
|
41
41
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@thi.ng/api": "^8.11.
|
|
45
|
-
"@thi.ng/checks": "^3.6.
|
|
46
|
-
"@thi.ng/errors": "^2.5.
|
|
47
|
-
"@thi.ng/math": "^5.11.
|
|
48
|
-
"@thi.ng/random": "^4.1.
|
|
49
|
-
"@thi.ng/transducers": "^9.2.
|
|
44
|
+
"@thi.ng/api": "^8.11.18",
|
|
45
|
+
"@thi.ng/checks": "^3.6.21",
|
|
46
|
+
"@thi.ng/errors": "^2.5.24",
|
|
47
|
+
"@thi.ng/math": "^5.11.18",
|
|
48
|
+
"@thi.ng/random": "^4.1.9",
|
|
49
|
+
"@thi.ng/transducers": "^9.2.16"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@microsoft/api-extractor": "^7.48.1",
|
|
53
52
|
"esbuild": "^0.24.2",
|
|
54
53
|
"typedoc": "^0.27.6",
|
|
55
|
-
"typescript": "^5.7.
|
|
54
|
+
"typescript": "^5.7.3"
|
|
56
55
|
},
|
|
57
56
|
"keywords": [
|
|
58
57
|
"allpass",
|
|
@@ -294,5 +293,5 @@
|
|
|
294
293
|
"year": 2015,
|
|
295
294
|
"screenshot": "dsp/dsf-allpass1.png"
|
|
296
295
|
},
|
|
297
|
-
"gitHead": "
|
|
296
|
+
"gitHead": "b92b48abda9941d608be8a2e1c83447e679a6f79\n"
|
|
298
297
|
}
|