@thi.ng/dsp 4.2.20 → 4.2.22
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 +66 -66
- package/package.json +12 -12
- package/dev/fftjs.js +0 -512
- package/doc/assets/main.js +0 -54
- package/doc/assets/search.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2022-
|
|
3
|
+
- **Last updated**: 2022-11-23T22:46:54Z
|
|
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.
|
|
@@ -54,20 +54,14 @@ and/or version bumps of transitive dependencies.
|
|
|
54
54
|
|
|
55
55
|
#### ♻️ Refactoring
|
|
56
56
|
|
|
57
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
58
57
|
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
59
58
|
- add .js suffix for all relative imports
|
|
59
|
+
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
60
60
|
|
|
61
61
|
# [4.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@4.0.0) (2021-10-12)
|
|
62
62
|
|
|
63
63
|
#### 🛑 Breaking changes
|
|
64
64
|
|
|
65
|
-
- restructure/flatten /src folder, add ops ([c001e6f](https://github.com/thi-ng/umbrella/commit/c001e6f))
|
|
66
|
-
- BREAKING CHANGE: restructure pkg, add/rename ops
|
|
67
|
-
- dissolve all subfolders
|
|
68
|
-
- add bounce()
|
|
69
|
-
- rename `compP()` => `serial()`
|
|
70
|
-
- add docs
|
|
71
65
|
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
|
|
72
66
|
- BREAKING CHANGE: discontinue CommonJS & UMD versions
|
|
73
67
|
- only ESM modules will be published from now on
|
|
@@ -80,25 +74,25 @@ and/or version bumps of transitive dependencies.
|
|
|
80
74
|
- normalize/restructure/reorg all package.json files
|
|
81
75
|
- cleanup all build scripts, remove obsolete
|
|
82
76
|
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
|
|
77
|
+
- restructure/flatten /src folder, add ops ([c001e6f](https://github.com/thi-ng/umbrella/commit/c001e6f))
|
|
78
|
+
- BREAKING CHANGE: restructure pkg, add/rename ops
|
|
79
|
+
- dissolve all subfolders
|
|
80
|
+
- add bounce()
|
|
81
|
+
- rename `compP()` => `serial()`
|
|
82
|
+
- add docs
|
|
83
83
|
|
|
84
84
|
#### ♻️ Refactoring
|
|
85
85
|
|
|
86
|
-
- dedupe IGen.take() impls ([55ba0f9](https://github.com/thi-ng/umbrella/commit/55ba0f9))
|
|
87
|
-
- update imports (transducers) ([6e7bf71](https://github.com/thi-ng/umbrella/commit/6e7bf71))
|
|
88
|
-
- update imports ([02f1cf7](https://github.com/thi-ng/umbrella/commit/02f1cf7))
|
|
89
86
|
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
90
87
|
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
88
|
+
- update imports ([02f1cf7](https://github.com/thi-ng/umbrella/commit/02f1cf7))
|
|
89
|
+
- update imports (transducers) ([6e7bf71](https://github.com/thi-ng/umbrella/commit/6e7bf71))
|
|
90
|
+
- dedupe IGen.take() impls ([55ba0f9](https://github.com/thi-ng/umbrella/commit/55ba0f9))
|
|
91
91
|
|
|
92
92
|
# [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@3.0.0) (2020-12-22)
|
|
93
93
|
|
|
94
94
|
#### 🛑 Breaking changes
|
|
95
95
|
|
|
96
|
-
- fix [#256](https://github.com/thi-ng/umbrella/issues/256) replace enums w/ type aliases ([b9cfacb](https://github.com/thi-ng/umbrella/commit/b9cfacb))
|
|
97
|
-
- BREAKING CHANGE: replace filter type enums w/ type aliases
|
|
98
|
-
- FilterType
|
|
99
|
-
- BiquadType
|
|
100
|
-
- SVFType
|
|
101
|
-
- OnepoleType
|
|
102
96
|
- 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))
|
|
103
97
|
- BREAKING CHANGE: new args for normalizeFFT(),denormalizeFFT(), spectrumPow()
|
|
104
98
|
- add support for windowing adjustments in above functions
|
|
@@ -106,13 +100,15 @@ and/or version bumps of transitive dependencies.
|
|
|
106
100
|
- add copyComplex()
|
|
107
101
|
- update various real/complex checks using isComplex()
|
|
108
102
|
- update docs, add references
|
|
103
|
+
- fix [#256](https://github.com/thi-ng/umbrella/issues/256) replace enums w/ type aliases ([b9cfacb](https://github.com/thi-ng/umbrella/commit/b9cfacb))
|
|
104
|
+
- BREAKING CHANGE: replace filter type enums w/ type aliases
|
|
105
|
+
- FilterType
|
|
106
|
+
- BiquadType
|
|
107
|
+
- SVFType
|
|
108
|
+
- OnepoleType
|
|
109
109
|
|
|
110
110
|
#### 🚀 Features
|
|
111
111
|
|
|
112
|
-
- add windowWelch(), add docs ([84cd476](https://github.com/thi-ng/umbrella/commit/84cd476))
|
|
113
|
-
- add/update power & integral fns ([f455fad](https://github.com/thi-ng/umbrella/commit/f455fad))
|
|
114
|
-
- add applyWindow(), windowBartlett() ([d51a17c](https://github.com/thi-ng/umbrella/commit/d51a17c))
|
|
115
|
-
- add cos() stateless oscillator ([276c6b7](https://github.com/thi-ng/umbrella/commit/276c6b7))
|
|
116
112
|
- add power & integral fns ([88edaac](https://github.com/thi-ng/umbrella/commit/88edaac))
|
|
117
113
|
- add power functions:
|
|
118
114
|
- powerSumSquared()
|
|
@@ -120,6 +116,10 @@ and/or version bumps of transitive dependencies.
|
|
|
120
116
|
- powerTimeIntegral()
|
|
121
117
|
- add integralF/T()
|
|
122
118
|
- add isComplex() check
|
|
119
|
+
- add cos() stateless oscillator ([276c6b7](https://github.com/thi-ng/umbrella/commit/276c6b7))
|
|
120
|
+
- add applyWindow(), windowBartlett() ([d51a17c](https://github.com/thi-ng/umbrella/commit/d51a17c))
|
|
121
|
+
- add/update power & integral fns ([f455fad](https://github.com/thi-ng/umbrella/commit/f455fad))
|
|
122
|
+
- add windowWelch(), add docs ([84cd476](https://github.com/thi-ng/umbrella/commit/84cd476))
|
|
123
123
|
|
|
124
124
|
#### ♻️ Refactoring
|
|
125
125
|
|
|
@@ -130,15 +130,15 @@ and/or version bumps of transitive dependencies.
|
|
|
130
130
|
|
|
131
131
|
#### ♻️ Refactoring
|
|
132
132
|
|
|
133
|
-
- update type-only imports in remaining pkgs ([b22aa30](https://github.com/thi-ng/umbrella/commit/b22aa30))
|
|
134
133
|
- update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
|
|
134
|
+
- update type-only imports in remaining pkgs ([b22aa30](https://github.com/thi-ng/umbrella/commit/b22aa30))
|
|
135
135
|
|
|
136
136
|
### [2.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@2.1.1) (2020-09-13)
|
|
137
137
|
|
|
138
138
|
#### ♻️ Refactoring
|
|
139
139
|
|
|
140
|
-
- update imports ([28bfb3c](https://github.com/thi-ng/umbrella/commit/28bfb3c))
|
|
141
140
|
- update deps, imports, use new Fn types ([683b4e9](https://github.com/thi-ng/umbrella/commit/683b4e9))
|
|
141
|
+
- update imports ([28bfb3c](https://github.com/thi-ng/umbrella/commit/28bfb3c))
|
|
142
142
|
|
|
143
143
|
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@2.1.0) (2020-08-28)
|
|
144
144
|
|
|
@@ -168,29 +168,23 @@ and/or version bumps of transitive dependencies.
|
|
|
168
168
|
|
|
169
169
|
#### 🚀 Features
|
|
170
170
|
|
|
171
|
-
-
|
|
172
|
-
- update
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
-
|
|
176
|
-
-
|
|
177
|
-
|
|
178
|
-
- add
|
|
179
|
-
- add
|
|
180
|
-
-
|
|
181
|
-
-
|
|
182
|
-
- add/
|
|
183
|
-
- add
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
- rename
|
|
188
|
-
- update all gens/procs, housekeeping, docs ([e483245](https://github.com/thi-ng/umbrella/commit/e483245))
|
|
189
|
-
- add param accessors for all ops
|
|
190
|
-
- add IReset & impls for most gens/procs
|
|
191
|
-
- add Delay.multiTap()
|
|
192
|
-
- replace exp() w/ curve(), add curvature ctrl
|
|
193
|
-
- remove lfo(), wrapAround, ATwoPole/AllPass2
|
|
171
|
+
- add fft, spectrum and window fns, add tests ([f918af4](https://github.com/thi-ng/umbrella/commit/f918af4))
|
|
172
|
+
- add/update FFT fns, test, update docs ([1ac9508](https://github.com/thi-ng/umbrella/commit/1ac9508))
|
|
173
|
+
- add LFO sin/cos iterator/osc, minor refactor window fns ([dc89204](https://github.com/thi-ng/umbrella/commit/dc89204))
|
|
174
|
+
- add DelayLine ([bd25cd7](https://github.com/thi-ng/umbrella/commit/bd25cd7))
|
|
175
|
+
- update DelayLine ctor, freqBin, update pkg ([228a81e](https://github.com/thi-ng/umbrella/commit/228a81e))
|
|
176
|
+
- import gen & proc nodes, general pkg restructure ([a85c3cf](https://github.com/thi-ng/umbrella/commit/a85c3cf))
|
|
177
|
+
- add filters, refactor, update pkg/docs/readme ([7758609](https://github.com/thi-ng/umbrella/commit/7758609))
|
|
178
|
+
- add AllPass1/2 filters
|
|
179
|
+
- add abstract ATwoPole class
|
|
180
|
+
- fix OnePole HPF impl
|
|
181
|
+
- update protected field names
|
|
182
|
+
- add/update filters, filter resp, delay ([2854b09](https://github.com/thi-ng/umbrella/commit/2854b09))
|
|
183
|
+
- add/optimize Biquad & SVF impls
|
|
184
|
+
- add DCBlocker
|
|
185
|
+
- add FeedbackDelay
|
|
186
|
+
- add filter response types & utils
|
|
187
|
+
- add/rename conversion fns
|
|
194
188
|
- add new operators ([68a88e4](https://github.com/thi-ng/umbrella/commit/68a88e4))
|
|
195
189
|
Generators:
|
|
196
190
|
- ADSR
|
|
@@ -203,32 +197,38 @@ and/or version bumps of transitive dependencies.
|
|
|
203
197
|
- WaveShaper
|
|
204
198
|
Oscillators:
|
|
205
199
|
- Discrete Summation (DSF, stateless)
|
|
206
|
-
-
|
|
207
|
-
- add
|
|
208
|
-
- add
|
|
209
|
-
- add
|
|
210
|
-
-
|
|
211
|
-
-
|
|
212
|
-
- add
|
|
213
|
-
- add
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
-
|
|
218
|
-
-
|
|
219
|
-
- add
|
|
220
|
-
-
|
|
221
|
-
- add
|
|
222
|
-
- add
|
|
200
|
+
- update all gens/procs, housekeeping, docs ([e483245](https://github.com/thi-ng/umbrella/commit/e483245))
|
|
201
|
+
- add param accessors for all ops
|
|
202
|
+
- add IReset & impls for most gens/procs
|
|
203
|
+
- add Delay.multiTap()
|
|
204
|
+
- replace exp() w/ curve(), add curvature ctrl
|
|
205
|
+
- remove lfo(), wrapAround, ATwoPole/AllPass2
|
|
206
|
+
- add/rename oscillators ([8a826bf](https://github.com/thi-ng/umbrella/commit/8a826bf))
|
|
207
|
+
- add HOF versions for:
|
|
208
|
+
- dsfHOF
|
|
209
|
+
- mixOscHOF
|
|
210
|
+
- rectHOF
|
|
211
|
+
- rename comb => parabolic
|
|
212
|
+
- add missing factory fns, update docstrings ([3ede5af](https://github.com/thi-ng/umbrella/commit/3ede5af))
|
|
213
|
+
- add gen/proc composition ops, restructure ([8be2a5f](https://github.com/thi-ng/umbrella/commit/8be2a5f))
|
|
214
|
+
- move all composition ops to own subdir
|
|
215
|
+
- add `compP`, `multiplex`, `pipe` IProc composition
|
|
216
|
+
- add `IXform` impl for `AProc` to allow for direct use as transducer
|
|
217
|
+
- add/update `IReset` impls (re-use type from [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api))
|
|
218
|
+
- add sweep(), move curve(), minor refactor ([0b24d80](https://github.com/thi-ng/umbrella/commit/0b24d80))
|
|
219
|
+
- update gens to support clamping ([fe8f6f3](https://github.com/thi-ng/umbrella/commit/fe8f6f3))
|
|
220
|
+
- add opt clamping for add, mul, madd
|
|
221
|
+
- update curve, line and sweep
|
|
222
|
+
- update ADSR, add ADSROpts, auto-release ([16f41ec](https://github.com/thi-ng/umbrella/commit/16f41ec))
|
|
223
223
|
|
|
224
224
|
#### ♻️ Refactoring
|
|
225
225
|
|
|
226
|
-
-
|
|
227
|
-
- rename compG => mapG ([95244dd](https://github.com/thi-ng/umbrella/commit/95244dd))
|
|
226
|
+
- various minor additions, updates, renames, docs ([e5e1a22](https://github.com/thi-ng/umbrella/commit/e5e1a22))
|
|
228
227
|
- update/rename DelayLine => Delay ([ec0e521](https://github.com/thi-ng/umbrella/commit/ec0e521))
|
|
229
228
|
- update Delay to impl `IProc` interface
|
|
230
229
|
- add `IClear` impls for all current IProc impls
|
|
231
|
-
-
|
|
230
|
+
- rename compG => mapG ([95244dd](https://github.com/thi-ng/umbrella/commit/95244dd))
|
|
231
|
+
- restructure oscillators, fft, window, update gen-diagrams ([9efd69f](https://github.com/thi-ng/umbrella/commit/9efd69f))
|
|
232
232
|
|
|
233
233
|
### [1.0.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/dsp@1.0.10) (2019-04-26)
|
|
234
234
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/dsp",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.22",
|
|
4
4
|
"description": "Composable signal generators, oscillators, filters, FFT, spectrum, windowing & related DSP utils",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.4.
|
|
38
|
-
"@thi.ng/checks": "^3.3.
|
|
39
|
-
"@thi.ng/errors": "^2.2.
|
|
40
|
-
"@thi.ng/math": "^5.3.
|
|
41
|
-
"@thi.ng/random": "^3.3.
|
|
42
|
-
"@thi.ng/transducers": "^8.3.
|
|
37
|
+
"@thi.ng/api": "^8.4.6",
|
|
38
|
+
"@thi.ng/checks": "^3.3.3",
|
|
39
|
+
"@thi.ng/errors": "^2.2.4",
|
|
40
|
+
"@thi.ng/math": "^5.3.13",
|
|
41
|
+
"@thi.ng/random": "^3.3.15",
|
|
42
|
+
"@thi.ng/transducers": "^8.3.23"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@microsoft/api-extractor": "^7.33.5",
|
|
46
|
-
"@thi.ng/testament": "^0.3.
|
|
46
|
+
"@thi.ng/testament": "^0.3.5",
|
|
47
47
|
"rimraf": "^3.0.2",
|
|
48
48
|
"tools": "^0.0.1",
|
|
49
|
-
"typedoc": "^0.23.
|
|
49
|
+
"typedoc": "^0.23.20",
|
|
50
50
|
"typescript": "^4.8.4"
|
|
51
51
|
},
|
|
52
52
|
"keywords": [
|
|
@@ -86,8 +86,8 @@
|
|
|
86
86
|
"node": ">=12.7"
|
|
87
87
|
},
|
|
88
88
|
"files": [
|
|
89
|
-
"
|
|
90
|
-
"
|
|
89
|
+
"./*.js",
|
|
90
|
+
"./*.d.ts",
|
|
91
91
|
"internal"
|
|
92
92
|
],
|
|
93
93
|
"exports": {
|
|
@@ -272,5 +272,5 @@
|
|
|
272
272
|
],
|
|
273
273
|
"year": 2015
|
|
274
274
|
},
|
|
275
|
-
"gitHead": "
|
|
275
|
+
"gitHead": "044ee6a3895720fc78e115032d4d831b63510929\n"
|
|
276
276
|
}
|