xsound 4.3.24 → 4.3.26

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 (28) hide show
  1. package/README.md +5 -1
  2. package/build/types/src/SoundModule/Effectors/AmpSimulator.d.ts +14 -5
  3. package/build/types/src/SoundModule/Effectors/AmpSimulator.d.ts.map +1 -1
  4. package/build/types/src/SoundModule/Effectors/Cabinets/FilterBankCabinet.d.ts +1 -6
  5. package/build/types/src/SoundModule/Effectors/Cabinets/FilterBankCabinet.d.ts.map +1 -1
  6. package/build/types/src/SoundModule/Effectors/Preamps/GSP2101.d.ts +37 -0
  7. package/build/types/src/SoundModule/Effectors/Preamps/GSP2101.d.ts.map +1 -0
  8. package/build/types/src/SoundModule/Effectors/Preamps/Marshall/JCM800.d.ts +40 -0
  9. package/build/types/src/SoundModule/Effectors/Preamps/Marshall/JCM800.d.ts.map +1 -0
  10. package/build/types/src/SoundModule/Effectors/Preamps/Marshall/JMP.d.ts +40 -0
  11. package/build/types/src/SoundModule/Effectors/Preamps/Marshall/JMP.d.ts.map +1 -0
  12. package/build/types/src/SoundModule/Effectors/Preamps/Marshall/JTM45.d.ts +40 -0
  13. package/build/types/src/SoundModule/Effectors/Preamps/Marshall/JTM45.d.ts.map +1 -0
  14. package/build/types/src/SoundModule/Effectors/Preamps/Marshall/Marshall.d.ts +101 -0
  15. package/build/types/src/SoundModule/Effectors/Preamps/Marshall/Marshall.d.ts.map +1 -0
  16. package/build/types/src/main.d.ts +6 -2
  17. package/build/types/src/main.d.ts.map +1 -1
  18. package/build/types/src/types.d.ts +6 -0
  19. package/build/types/src/types.d.ts.map +1 -1
  20. package/build/xsound.js +1 -1
  21. package/build/xsound.js.LICENSE.txt +1 -1
  22. package/build/xsound.js.map +1 -1
  23. package/build/xsound.min.js +1 -1
  24. package/build/xsound.min.js.LICENSE.txt +1 -1
  25. package/build/xsound.min.js.map +1 -1
  26. package/package.json +4 -4
  27. package/build/types/src/SoundModule/Effectors/Preamps/Marshall.d.ts +0 -56
  28. package/build/types/src/SoundModule/Effectors/Preamps/Marshall.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xsound",
3
- "version": "4.3.24",
3
+ "version": "4.3.26",
4
4
  "engines": {
5
5
  "node": ">=24.0.0 <=26.13.x"
6
6
  },
@@ -82,8 +82,8 @@
82
82
  "@types/jest": "^30.0.0",
83
83
  "cross-env": "^10.1.0",
84
84
  "dotenv-webpack": "^9.0.0",
85
- "eslint": "^10.13.0",
86
- "globals": "^17.13.0",
85
+ "eslint": "^10.14.0",
86
+ "globals": "^17.14.0",
87
87
  "husky": "4.3.8",
88
88
  "jest": "^30.5.2",
89
89
  "jest-environment-jsdom": "^30.5.2",
@@ -96,7 +96,7 @@
96
96
  "typescript": "^6.0.3",
97
97
  "typescript-eslint": "^8.72.1",
98
98
  "webpack": "^5.112.2",
99
- "webpack-cli": "^7.2.3",
99
+ "webpack-cli": "^7.3.1",
100
100
  "webpack-dev-server": "^6.0.0"
101
101
  }
102
102
  }
@@ -1,56 +0,0 @@
1
- import type { PreampCurve } from '../AmpSimulator';
2
- import { Effector } from '../Effector';
3
- export type PreEqualizerParams = {
4
- state?: boolean;
5
- curve?: PreampCurve;
6
- oversample?: OverSampleType;
7
- gain?: number;
8
- lead?: number;
9
- };
10
- export type PostEqualizerParams = {
11
- state?: boolean;
12
- curve?: PreampCurve;
13
- oversample?: OverSampleType;
14
- bass?: number;
15
- middle?: number;
16
- treble?: number;
17
- frequency?: number;
18
- };
19
- export type MarshallParams = {
20
- state?: boolean;
21
- level?: number;
22
- samples?: number;
23
- pre?: PreEqualizerParams;
24
- post?: PostEqualizerParams;
25
- };
26
- /**
27
- * Effector's subclass for Preamplifier (Marshall).
28
- */
29
- export declare class Marshall extends Effector {
30
- private preEQ;
31
- private postEQ;
32
- private level;
33
- private numberOfSamples;
34
- /**
35
- * @param {AudioContext} context This argument is in order to use Web Audio API.
36
- */
37
- constructor(context: AudioContext);
38
- /** @override */
39
- connect(): GainNode;
40
- /**
41
- * This method gets or sets parameters for preamp effector.
42
- * This method is overloaded for type interface and type check.
43
- * @param {keyof MarshallParams|MarshallParams} params This argument is string if getter. Otherwise, setter.
44
- * @return {MarshallParams[keyof MarshallParams]|Marshall} Return value is parameter for preamp effector if getter.
45
- * Otherwise, return value is for method chain.
46
- */
47
- param(params: 'state'): boolean;
48
- param(params: 'level'): number;
49
- param(params: 'samples'): number;
50
- param(params: 'pre'): MarshallParams['pre'];
51
- param(params: 'post'): MarshallParams['post'];
52
- param(params: MarshallParams): Marshall;
53
- /** @override */
54
- params(): Required<MarshallParams>;
55
- }
56
- //# sourceMappingURL=Marshall.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Marshall.d.ts","sourceRoot":"","sources":["../../../../../../src/SoundModule/Effectors/Preamps/Marshall.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,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