@logue/reverb 1.2.0 → 1.2.2

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.
@@ -1,8 +1,8 @@
1
- /** Meta Information Interface */
2
- export default interface MetaInterface {
3
- /** Version */
4
- version: string;
5
- /** Build Date */
6
- date: string;
7
- }
1
+ /** Meta Information Interface */
2
+ export default interface MetaInterface {
3
+ /** Version */
4
+ version: string;
5
+ /** Build Date */
6
+ date: string;
7
+ }
8
8
  //# sourceMappingURL=MetaInterface.d.ts.map
@@ -1,40 +1,40 @@
1
- import { type NoiseType } from '../NoiseType';
2
- import type { INorm } from '@thi.ng/random';
3
- /** Reverb Option */
4
- export default interface OptionInterface {
5
- /**
6
- * IR (Inpulse Response) colord noise algorithm (BLUE, GREEN, PINK, RED, VIOLET, WHITE)
7
- * @see {@link https://github.com/thi-ng/umbrella/tree/develop/packages/colored-noise}
8
- */
9
- noise: NoiseType;
10
- /** IR source noise scale */
11
- scale: number;
12
- /** Number of IR source noise peaks */
13
- peaks: number;
14
- /**
15
- * Randam noise algorythm
16
- * @see {@link https://github.com/thi-ng/umbrella/tree/develop/packages/random}
17
- */
18
- randomAlgorithm: INorm;
19
- /** Decay */
20
- decay: number;
21
- /** Delay until impulse response is generated */
22
- delay: number;
23
- /** Filter frequency applied to impulse response[Hz] */
24
- filterFreq: number;
25
- /** Filter quality for impulse response */
26
- filterQ: number;
27
- /** Filter type for impulse response */
28
- filterType: BiquadFilterType;
29
- /** Dry/Wet ratio */
30
- mix: number;
31
- /** Invert the impulse response */
32
- reverse: boolean;
33
- /** Impulse response length */
34
- time: number;
35
- /** Prevents multiple effectors from being connected. */
36
- once: boolean;
37
- }
38
- /** デフォルト値 */
39
- export declare const defaults: OptionInterface;
1
+ import { type NoiseType } from '../NoiseType';
2
+ import type { INorm } from '@thi.ng/random';
3
+ /** Reverb Option */
4
+ export default interface OptionInterface {
5
+ /**
6
+ * IR (Inpulse Response) colord noise algorithm (BLUE, GREEN, PINK, RED, VIOLET, WHITE)
7
+ * @see {@link https://github.com/thi-ng/umbrella/tree/develop/packages/colored-noise}
8
+ */
9
+ noise: NoiseType;
10
+ /** IR source noise scale */
11
+ scale: number;
12
+ /** Number of IR source noise peaks */
13
+ peaks: number;
14
+ /**
15
+ * Randam noise algorythm
16
+ * @see {@link https://github.com/thi-ng/umbrella/tree/develop/packages/random}
17
+ */
18
+ randomAlgorithm: INorm;
19
+ /** Decay */
20
+ decay: number;
21
+ /** Delay until impulse response is generated */
22
+ delay: number;
23
+ /** Filter frequency applied to impulse response[Hz] */
24
+ filterFreq: number;
25
+ /** Filter quality for impulse response */
26
+ filterQ: number;
27
+ /** Filter type for impulse response */
28
+ filterType: BiquadFilterType;
29
+ /** Dry/Wet ratio */
30
+ mix: number;
31
+ /** Invert the impulse response */
32
+ reverse: boolean;
33
+ /** Impulse response length */
34
+ time: number;
35
+ /** Prevents multiple effectors from being connected. */
36
+ once: boolean;
37
+ }
38
+ /** デフォルト値 */
39
+ export declare const defaults: OptionInterface;
40
40
  //# sourceMappingURL=OptionInterface.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@logue/reverb",
4
- "version": "1.2.0",
4
+ "version": "1.2.2",
5
5
  "description": "JavaScript Reverb effect class",
6
6
  "keywords": [
7
7
  "webaudio",
@@ -37,45 +37,49 @@
37
37
  }
38
38
  },
39
39
  "engines": {
40
- "node": ">=16.17.1",
41
- "yarn": ">=1.22.10"
40
+ "node": ">=18.12.1",
41
+ "yarn": ">=1.22.19"
42
42
  },
43
- "packageManager": "yarn@3.2.4",
43
+ "packageManager": "yarn@3.3.1",
44
44
  "sideEffects": false,
45
45
  "scripts": {
46
- "dev": "vite",
47
- "build": "vite build && tsc --declaration --emitDeclarationOnly",
48
- "build:analyze": "vite build --mode analyze && tsc --declaration --emitDeclarationOnly ",
46
+ "clean": "rimraf node_modules/.vite",
47
+ "type-check": "tsc --noEmit --composite false",
48
+ "build": "run-p type-check build-only build-declaration",
49
49
  "build:clean": "rimraf dist",
50
+ "build-only": "vite build",
51
+ "build-declaration": "tsc -p tsconfig.app.json --composite false --declaration --declarationMap --declarationDir dist",
50
52
  "lint": "eslint . --fix --cache --cache-location ./node_modules/.vite/vite-plugin-eslint && prettier . --write",
51
53
  "prepare": "husky install"
52
54
  },
53
55
  "dependencies": {
54
- "@thi.ng/colored-noise": "^0.3.23",
55
- "@thi.ng/transducers": "^8.3.22"
56
+ "@thi.ng/colored-noise": "^1.0.4",
57
+ "@thi.ng/transducers": "^8.3.27"
56
58
  },
57
59
  "devDependencies": {
58
- "@types/node": "^18.11.9",
59
- "@typescript-eslint/eslint-plugin": "^5.42.0",
60
- "@typescript-eslint/parser": "^5.42.0",
61
- "eslint": "^8.27.0",
60
+ "@types/node": "^18.11.17",
61
+ "@typescript-eslint/eslint-plugin": "^5.47.0",
62
+ "@typescript-eslint/parser": "^5.47.0",
63
+ "eslint": "^8.30.0",
62
64
  "eslint-config-google": "^0.14.0",
63
65
  "eslint-config-prettier": "^8.5.0",
64
66
  "eslint-import-resolver-alias": "^1.1.2",
65
67
  "eslint-import-resolver-typescript": "^3.5.2",
66
68
  "eslint-plugin-import": "^2.26.0",
67
- "eslint-plugin-jsdoc": "^39.6.2",
69
+ "eslint-plugin-jsdoc": "^39.6.4",
68
70
  "eslint-plugin-prettier": "^4.2.1",
69
71
  "eslint-plugin-tsdoc": "^0.2.17",
70
- "husky": "^8.0.1",
71
- "lint-staged": "^13.0.3",
72
- "prettier": "^2.7.1",
72
+ "husky": "^8.0.2",
73
+ "lint-staged": "^13.1.0",
74
+ "npm-run-all": "^4.1.5",
75
+ "prettier": "^2.8.1",
73
76
  "rimraf": "^3.0.2",
74
77
  "rollup-plugin-visualizer": "^5.8.3",
75
- "typescript": "^4.8.4",
76
- "vite": "^3.2.2",
77
- "vite-plugin-banner": "^0.6.1",
78
- "vite-plugin-checker": "^0.5.1"
78
+ "typescript": "^4.9.4",
79
+ "vite": "^4.0.3",
80
+ "vite-plugin-banner": "^0.7.0",
81
+ "vite-plugin-checker": "^0.5.2",
82
+ "vite-plugin-dts": "^1.7.1"
79
83
  },
80
84
  "husky": {
81
85
  "hooks": {
@@ -87,6 +91,6 @@
87
91
  "*": "prettier -w -u"
88
92
  },
89
93
  "resolutions": {
90
- "prettier": "^2.7.1"
94
+ "prettier": "^2.8.0"
91
95
  }
92
96
  }