@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.
Files changed (3) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/package.json +11 -11
  3. package/write.d.ts +2 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-03-07T20:40:47Z
3
+ - **Last updated**: 2024-03-13T14:04:31Z
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/dsp-io-wav",
3
- "version": "2.1.106",
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.29",
40
- "@thi.ng/binary": "^3.4.18",
41
- "@thi.ng/errors": "^2.4.20",
42
- "@thi.ng/transducers": "^8.9.11",
43
- "@thi.ng/transducers-binary": "^2.1.106"
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.40.1",
47
- "esbuild": "^0.20.0",
46
+ "@microsoft/api-extractor": "^7.42.3",
47
+ "esbuild": "^0.20.1",
48
48
  "rimraf": "^5.0.5",
49
- "typedoc": "^0.25.7",
50
- "typescript": "^5.3.3"
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": "69100942474942f7446ac645d59d91e7dfc352f9\n"
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