@thi.ng/dsp-io-wav 2.1.106 → 2.1.108
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 +1 -1
- package/package.json +11 -11
- package/write.d.ts +2 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/dsp-io-wav",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.108",
|
|
4
4
|
"description": "WAV file format generation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.9.
|
|
40
|
-
"@thi.ng/binary": "^3.4.
|
|
41
|
-
"@thi.ng/errors": "^2.
|
|
42
|
-
"@thi.ng/transducers": "^8.9.
|
|
43
|
-
"@thi.ng/transducers-binary": "^2.1.
|
|
39
|
+
"@thi.ng/api": "^8.9.30",
|
|
40
|
+
"@thi.ng/binary": "^3.4.19",
|
|
41
|
+
"@thi.ng/errors": "^2.5.1",
|
|
42
|
+
"@thi.ng/transducers": "^8.9.13",
|
|
43
|
+
"@thi.ng/transducers-binary": "^2.1.108"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@microsoft/api-extractor": "^7.
|
|
47
|
-
"esbuild": "^0.20.
|
|
46
|
+
"@microsoft/api-extractor": "^7.42.3",
|
|
47
|
+
"esbuild": "^0.20.1",
|
|
48
48
|
"rimraf": "^5.0.5",
|
|
49
|
-
"typedoc": "^0.25.
|
|
50
|
-
"typescript": "^5.
|
|
49
|
+
"typedoc": "^0.25.12",
|
|
50
|
+
"typescript": "^5.4.2"
|
|
51
51
|
},
|
|
52
52
|
"keywords": [
|
|
53
53
|
"8bit",
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"parent": "@thi.ng/dsp",
|
|
91
91
|
"year": 2020
|
|
92
92
|
},
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "bc0f3cb07d6f1cab6dbdc5ff57428f5484e711bb\n"
|
|
94
94
|
}
|
package/write.d.ts
CHANGED
|
@@ -15,11 +15,12 @@ export declare const wavHeader: (spec: WavSpec) => BinStructItem[];
|
|
|
15
15
|
* limited explicitly.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
|
-
* ```ts
|
|
18
|
+
* ```ts tangle:../export/wav-byte-array.ts
|
|
19
19
|
* import { osc, sin } from "@thi.ng/dsp";
|
|
20
20
|
* import { wavByteArray } from "@thi.ng/dsp-io-wav";
|
|
21
21
|
* import { writeFileSync } from "fs";
|
|
22
22
|
*
|
|
23
|
+
* // sample rate
|
|
23
24
|
* const FS = 48000;
|
|
24
25
|
*
|
|
25
26
|
* // write 1 second 24bit mono WAV file, 440Hz sine
|