xsound 3.0.16 → 3.1.0

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 (59) hide show
  1. package/README.md +10 -10
  2. package/build/types/MIDI/index.d.ts +3 -3
  3. package/build/types/MML/Part.d.ts +8 -8
  4. package/build/types/MML/Part.d.ts.map +1 -1
  5. package/build/types/MML/ScheduleWorker.d.ts +2 -0
  6. package/build/types/MML/ScheduleWorker.d.ts.map +1 -0
  7. package/build/types/MML/Sequence.d.ts +7 -7
  8. package/build/types/MML/index.d.ts +7 -7
  9. package/build/types/MediaModule/index.d.ts +5 -5
  10. package/build/types/MediaModule/index.d.ts.map +1 -1
  11. package/build/types/NoiseModule/index.d.ts +5 -0
  12. package/build/types/NoiseModule/index.d.ts.map +1 -1
  13. package/build/types/OneshotModule/index.d.ts +14 -14
  14. package/build/types/ProcessorModule/index.d.ts +8 -3
  15. package/build/types/ProcessorModule/index.d.ts.map +1 -1
  16. package/build/types/SoundModule/Effectors/AudioWorkletProcessors/NoiseGateProcessor.d.ts +20 -0
  17. package/build/types/SoundModule/Effectors/AudioWorkletProcessors/NoiseGateProcessor.d.ts.map +1 -0
  18. package/build/types/SoundModule/Effectors/AudioWorkletProcessors/NoiseSuppressorProcessor.d.ts +35 -0
  19. package/build/types/SoundModule/Effectors/AudioWorkletProcessors/NoiseSuppressorProcessor.d.ts.map +1 -0
  20. package/build/types/SoundModule/Effectors/AudioWorkletProcessors/PitchShifterProcessor.d.ts +36 -0
  21. package/build/types/SoundModule/Effectors/AudioWorkletProcessors/PitchShifterProcessor.d.ts.map +1 -0
  22. package/build/types/SoundModule/Effectors/AudioWorkletProcessors/StereoProcessor.d.ts +13 -0
  23. package/build/types/SoundModule/Effectors/AudioWorkletProcessors/StereoProcessor.d.ts.map +1 -0
  24. package/build/types/SoundModule/Effectors/AudioWorkletProcessors/VocalCancelerProcessor.d.ts +21 -0
  25. package/build/types/SoundModule/Effectors/AudioWorkletProcessors/VocalCancelerProcessor.d.ts.map +1 -0
  26. package/build/types/SoundModule/Effectors/Effector.d.ts +1 -4
  27. package/build/types/SoundModule/Effectors/Effector.d.ts.map +1 -1
  28. package/build/types/SoundModule/Effectors/NoiseGate.d.ts +1 -6
  29. package/build/types/SoundModule/Effectors/NoiseGate.d.ts.map +1 -1
  30. package/build/types/SoundModule/Effectors/NoiseSuppressor.d.ts +2 -10
  31. package/build/types/SoundModule/Effectors/NoiseSuppressor.d.ts.map +1 -1
  32. package/build/types/SoundModule/Effectors/PitchShifter.d.ts +2 -4
  33. package/build/types/SoundModule/Effectors/PitchShifter.d.ts.map +1 -1
  34. package/build/types/SoundModule/Effectors/Reverb.d.ts +11 -11
  35. package/build/types/SoundModule/Effectors/Stereo.d.ts +2 -3
  36. package/build/types/SoundModule/Effectors/Stereo.d.ts.map +1 -1
  37. package/build/types/SoundModule/Effectors/VocalCanceler.d.ts +2 -10
  38. package/build/types/SoundModule/Effectors/VocalCanceler.d.ts.map +1 -1
  39. package/build/types/SoundModule/Recorder/index.d.ts +1 -1
  40. package/build/types/SoundModule/Recorder/index.d.ts.map +1 -1
  41. package/build/types/SoundModule/Session/index.d.ts +2 -2
  42. package/build/types/SoundModule/index.d.ts.map +1 -1
  43. package/build/types/StreamModule/index.d.ts +3 -3
  44. package/build/types/XSound/index.d.ts +21 -21
  45. package/build/types/main.d.ts +7 -1
  46. package/build/types/main.d.ts.map +1 -1
  47. package/build/types/types.d.ts +5 -0
  48. package/build/types/types.d.ts.map +1 -1
  49. package/build/types/worker.d.ts +19 -0
  50. package/build/types/worker.d.ts.map +1 -0
  51. package/build/types/worklet.d.ts +29 -0
  52. package/build/types/worklet.d.ts.map +1 -0
  53. package/build/xsound.js +1 -1
  54. package/build/xsound.js.LICENSE.txt +1 -1
  55. package/build/xsound.js.map +1 -1
  56. package/build/xsound.min.js +1 -1
  57. package/build/xsound.min.js.LICENSE.txt +1 -1
  58. package/build/xsound.min.js.map +1 -1
  59. package/package.json +15 -17
package/README.md CHANGED
@@ -91,17 +91,17 @@ X.Flanger(context: AudioContext);
91
91
  X.Fuzz(context: AudioContext);
92
92
  X.Listener(context: AudioContext);
93
93
  X.NoiseGate(context: AudioContext);
94
- X.NoiseSuppressor(context: AudioContext, size: BufferSize);
94
+ X.NoiseSuppressor(context: AudioContext);
95
95
  X.OverDrive(context: AudioContext);
96
96
  X.Panner(context: AudioContext);
97
97
  X.Phaser(context: AudioContext);
98
- X.PitchShifter(context: AudioContext, size: BufferSize);
98
+ X.PitchShifter(context: AudioContext);
99
99
  X.Preamp(context: AudioContext);
100
100
  X.Reverb(context: AudioContext);
101
101
  X.Ringmodulator(context: AudioContext);
102
- X.Stereo(context: AudioContext, size, size: BufferSize);
102
+ X.Stereo(context: AudioContext, size);
103
103
  X.Tremolo(context: AudioContext);
104
- X.VocalCanceler(context: AudioContext, size: BufferSize);
104
+ X.VocalCanceler(context: AudioContext);
105
105
  X.Wah(context: AudioContext);
106
106
  ```
107
107
 
@@ -127,18 +127,18 @@ $ yarn add xsound
127
127
 
128
128
  ## Usage
129
129
 
130
- In case of using CDN,
131
-
132
- ```HTML
133
- <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/xsound@latest/build/xsound.min.js"></script>
134
- ```
135
-
136
130
  In case of using ES Modules (for SSR ... etc),
137
131
 
138
132
  ```JavaScript
139
133
  import { XSound, X } from 'xsound';
140
134
  ```
141
135
 
136
+ In case of using CDN,
137
+
138
+ ```HTML
139
+ <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/xsound@latest/build/xsound.min.js"></script>
140
+ ```
141
+
142
142
  ### Connect to WebSocket Server
143
143
 
144
144
  ```JavaScript
@@ -9,9 +9,9 @@ export declare class MIDI {
9
9
  constructor();
10
10
  /**
11
11
  * This method invokes `requestMIDIAccess` and gets instance of `MIDIAccess`.
12
- * @param {MIDIOptions} options This argument is object based on `MIDIOptions` dictionary.
13
- * @param {function} successCallback This argument is invoked on `requestMIDIAccess` success.
14
- * @param {function} errorCallback This argument is invoked on `requestMIDIAccess` failure.
12
+ * @property {MIDIOptions} options This argument is object based on `MIDIOptions` dictionary.
13
+ * @property {function} successCallback This argument is invoked on `requestMIDIAccess` success.
14
+ * @property {function} errorCallback This argument is invoked on `requestMIDIAccess` failure.
15
15
  * @return {Promise<MIDIAccess|void>} Return value is `Promise` that `requestMIDIAccess` method returns.
16
16
  */
17
17
  setup(params: {
@@ -13,7 +13,7 @@ export declare class Part {
13
13
  private mml;
14
14
  private syntaxTree;
15
15
  private previous;
16
- private timerId;
16
+ private scheduleWorker;
17
17
  private currentIndex;
18
18
  private currentPosition;
19
19
  private offset;
@@ -22,13 +22,13 @@ export declare class Part {
22
22
  private endedCallback;
23
23
  private errorCallback;
24
24
  /**
25
- * @param {OscillatorModule|OneshotModule|NoiseModule} source This argument selects sound source.
26
- * @param {string} mml This argument is MML string.
27
- * @param {number} offset This argument corrects index of one-shot audio.
28
- * @param {function} startCallback This argument is invoked on start musical note.
29
- * @param {function} stopCallback This argument is invoked on stop musical note.
30
- * @param {function} endedCallback This argument is invoked on ended.
31
- * @param {function} errorCallback This argument is invoked on syntax error.
25
+ * @property {OscillatorModule|OneshotModule|NoiseModule} source This argument selects sound source.
26
+ * @property {string} mml This argument is MML string.
27
+ * @property {number} offset This argument corrects index of one-shot audio.
28
+ * @property {function} startCallback This argument is invoked on start musical note.
29
+ * @property {function} stopCallback This argument is invoked on stop musical note.
30
+ * @property {function} endedCallback This argument is invoked on ended.
31
+ * @property {function} errorCallback This argument is invoked on syntax error.
32
32
  */
33
33
  constructor(params: {
34
34
  source: OscillatorModule | OneshotModule | NoiseModule;
@@ -1 +1 @@
1
- {"version":3,"file":"Part.d.ts","sourceRoot":"","sources":["../../../src/MML/Part.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,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zD,aAAa,CAAC,IAAI,IAAI,CAAC;QACvB,aAAa,CAAC,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;KAC7C;IAiDD;;;OAGG;IACI,KAAK,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI;IA8FtC;;OAEG;IACI,IAAI,IAAI,IAAI;IAwCnB;;OAEG;IACI,MAAM,IAAI,MAAM;IAIvB;;OAEG;IACI,YAAY,IAAI,QAAQ,EAAE;IAIjC;;OAEG;IACI,aAAa,IAAI,MAAM;IAI9B;;;OAGG;IACI,GAAG,IAAI,OAAO;IAIrB;;;OAGG;IACI,MAAM,IAAI,OAAO;IAIxB;;OAEG;IACI,eAAe,IAAI,MAAM;IAIhC;;;OAGG;IACI,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;CAK5C"}
@@ -0,0 +1,2 @@
1
+ export declare const schedule: () => void;
2
+ //# sourceMappingURL=ScheduleWorker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScheduleWorker.d.ts","sourceRoot":"","sources":["../../../src/MML/ScheduleWorker.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,YA6BpB,CAAC"}
@@ -11,13 +11,13 @@ export declare class Sequence {
11
11
  private _stop;
12
12
  private _duration;
13
13
  /**
14
- * @param {string} id This argument is string that identifies sequence.
15
- * @param {string} note This argument is string that corresponds to MML token.
16
- * @param {Array<number>} indexes This argument is array that contains index that corresponds to 12 equal temperament.
17
- * @param {Array<number>} frequencies This argument is array that contains frequency.
18
- * @param {number} start This argument is start time.
19
- * @param {number} stop This argument is stop time.
20
- * @param {number} duration This argument is duration.
14
+ * @property {string} id This argument is string that identifies sequence.
15
+ * @property {string} note This argument is string that corresponds to MML token.
16
+ * @property {Array<number>} indexes This argument is array that contains index that corresponds to 12 equal temperament.
17
+ * @property {Array<number>} frequencies This argument is array that contains frequency.
18
+ * @property {number} start This argument is start time.
19
+ * @property {number} stop This argument is stop time.
20
+ * @property {number} duration This argument is duration.
21
21
  */
22
22
  constructor(params: {
23
23
  id: string;
@@ -18,10 +18,10 @@ export declare class MML {
18
18
  private errorCallback;
19
19
  constructor();
20
20
  /**
21
- * @param {function} startCallback This argument is invoked on starting MML.
22
- * @param {function} stopCallback This argument is invoked on stopping MML.
23
- * @param {function} endedCallback This argument is invoked on ending MML.
24
- * @param {function} errorCallback This argument is invoked on occurring MML syntax error.
21
+ * @property {function} startCallback This argument is invoked on starting MML.
22
+ * @property {function} stopCallback This argument is invoked on stopping MML.
23
+ * @property {function} endedCallback This argument is invoked on ending MML.
24
+ * @property {function} errorCallback This argument is invoked on occurring MML syntax error.
25
25
  */
26
26
  setup(callbacks?: {
27
27
  startCallback?(sequence: Sequence, offset?: number): void;
@@ -31,9 +31,9 @@ export declare class MML {
31
31
  }): MML;
32
32
  /**
33
33
  * This method parses MML string.
34
- * @param {OscillatorModule|OneshotModule|NoiseModule} source This argument selects sound source.
35
- * @param {Array<string>} mmls This argument is MML strings.
36
- * @param {number} offset This argument is in order to adjust index of one-shot audio.
34
+ * @property {OscillatorModule|OneshotModule|NoiseModule} source This argument selects sound source.
35
+ * @property {Array<string>} mmls This argument is MML strings.
36
+ * @property {number} offset This argument is in order to adjust index of one-shot audio.
37
37
  * @return {MML} Return value is for method chain.
38
38
  */
39
39
  ready(params: {
@@ -61,10 +61,10 @@ export declare class MediaModule extends SoundModule {
61
61
  constructor(context: AudioContext, bufferSize: BufferSize);
62
62
  /**
63
63
  * This method gets `HTMLMediaElement` and selects media format. In addition, this method adds event listeners that are defined by `HTMLMediaElement`.
64
- * @param {HTMLAudioElement|HTMLVideoElement} media This argument is either `HTMLAudioElement` or `HTMLVideoElement`.
65
- * @param {Array<string>} formats This argument is usable media format. For example, 'wav', 'ogg', 'webm', 'mp4' ...etc.
66
- * @param {boolean} autoplay This argument is in order to determine autoplay. The default value is `false`.
67
- * @param {{ [eventType: string]: (event: Event | Error) => void }} listeners This argument is event listeners that are defined by `HTMLMediaElement`.
64
+ * @property {HTMLAudioElement|HTMLVideoElement} media This argument is either `HTMLAudioElement` or `HTMLVideoElement`.
65
+ * @property {Array<string>} formats This argument is usable media format. For example, 'wav', 'ogg', 'webm', 'mp4' ...etc.
66
+ * @property {boolean} autoplay This argument is in order to determine autoplay. The default value is `false`.
67
+ * @property {{ [eventType: string]: (event: Event | Error) => void }} listeners This argument is event listeners that are defined by `HTMLMediaElement`.
68
68
  * @return {MediaModule} Return value is for method chain.
69
69
  */
70
70
  setup(params: {
@@ -77,7 +77,7 @@ export declare class MediaModule extends SoundModule {
77
77
  }): MediaModule;
78
78
  /**
79
79
  * This method prepares for playing media anytime after loading media resource.
80
- * @param {string} source This argument is Object URL or file name for media resource.
80
+ * @param {string} src This argument is Object URL or file name for media resource.
81
81
  * @param {string} mimeType This argument is required in case of audio streaming.
82
82
  * @return {MediaModule} Return value is for method chain.
83
83
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/MediaModule/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAO,UAAU,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAsB,MAAM,gBAAgB,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,M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IAED;;;OAGG;IACH,OAAO,CAAC,YAAY;IAmCpB;;;OAGG;IACH,OAAO,CAAC,aAAa;IAMrB;;;OAGG;IACH,OAAO,CAAC,aAAa;IAMrB;;;OAGG;IACH,OAAO,CAAC,uBAAuB;IAM/B;;;OAGG;IACH,OAAO,CAAC,mBAAmB;CAK5B"}
@@ -31,6 +31,11 @@ export declare type NoiseType = 'whitenoise' | 'pinknoise' | 'browniannoise';
31
31
  export declare type NoiseModuleParams = SoundModuleParams & {
32
32
  type?: NoiseType;
33
33
  };
34
+ /**
35
+ * This subclass is for generating noise.
36
+ * @constructor
37
+ * @extends {SoundModule}
38
+ */
34
39
  export declare class NoiseModule extends SoundModule {
35
40
  private type;
36
41
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/NoiseModule/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAsB,MAAM,gBAAgB,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAAE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EAAE,WAAW,GAAG,SAAS;IAC1C,MAAM,CAAC,UAAU,EAAE,iBAAiB,GAAG,eAAe;IACtD,MAAM,CAAC,UAAU,EAAE,WAAW,GAAG,SAAS;IAC1C,MAAM,CAAC,UAAU,EAAE,QAAQ,GAAG,MAAM;IACpC,MAAM,CAAC,UAAU,EAAE,QAAQ,GAAG,MAAM;IACpC,MAAM,CAAC,UAAU,EAAE,cAAc,GAAG,YAAY;IAChD,MAAM,CAAC,UAAU,EAAE,QAAQ,GAAG,MAAM;IACpC,MAAM,CAAC,UAAU,EAAE,QAAQ,GAAG,MAAM;IACpC,MAAM,CAAC,UAAU,EAAE,eAAe,GAAG,aAAa;IAClD,MAAM,CAAC,UAAU,EAAE,QAAQ,GAAG,MAAM;IACpC,MAAM,CAAC,UAAU,EAAE,SAAS,GAAG,OAAO;IACtC,MAAM,CAAC,UAAU,EAAE,eAAe,GAAG,aAAa;IAClD,MAAM,CAAC,UAAU,EAAE,KAAK,GAAG,GAAG;IA8DrC,gBAAgB;IACA,MAAM,CAAC,UAAU,EAAE,UAAU,GAAG,WAAW;IAK3D,gBAAgB;IACA,EAAE,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,WAAW;IAKnD,gBAAgB;IACA,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,WAAW;IAKnD,gBAAgB;IACA,OAAO,IAAI,WAAW;IAatC,gBAAgB;IACA,GAAG,IAAI,WAAW;IAKlC,gBAAgB;IACA,KAAK,IAAI,WAAW;IAKpC;;;;OAIG;IACa,MAAM,IAAI,QAAQ,CAAC,iBAAiB,CAAC;IASrD,gBAAgB;IAChB,IAAoB,KAAK,IAAI,QAAQ,GAAG,IAAI,CAQ3C;IAED,gBAAgB;IAChB,IAAoB,MAAM,IAAI,QAAQ,CAErC;CACF"}
@@ -64,13 +64,13 @@ export declare class OneshotModule extends SoundModule {
64
64
  constructor(context: AudioContext, bufferSize: BufferSize);
65
65
  /**
66
66
  * This method creates instances of `AudioBuffer` by Ajax.
67
- * @param {Array<string>|Array<AudioBuffer>} resources This argument is array that contains URL or instance of `AudioBuffer` for audio resources.
68
- * @param {OneshotSettings} settings This argument is settings (such as `playbackRate`, `loop` ... etc) each audio sources.
69
- * @param {number} timeout This argument is timeout of Ajax. The default value is 60000 msec (1 minutes).
70
- * @param {function} successCallback This argument is invoked on success;
71
- * @param {function} errorCallback This argument is invoked on failure.
72
- * @param {function} progressCallback This argument is invoked during receiving audio data.
73
- * @return {OneshotModule} Return value is for method chain.
67
+ * @property {Array<string>|Array<AudioBuffer>} resources This argument is array that contains URL or instance of `AudioBuffer` for audio resources.
68
+ * @property {OneshotSettings} settings This argument is settings (such as `playbackRate`, `loop` ... etc) each audio sources.
69
+ * @property {number} timeout This argument is timeout of Ajax. The default value is 60000 msec (1 minutes).
70
+ * @property {function} successCallback This argument is invoked on success;
71
+ * @property {function} errorCallback This argument is invoked on failure.
72
+ * @property {function} progressCallback This argument is invoked during receiving audio data.
73
+ * @property {OneshotModule} Return value is for method chain.
74
74
  */
75
75
  setup(params: {
76
76
  resources: string[] | AudioBuffer[];
@@ -95,7 +95,7 @@ export declare class OneshotModule extends SoundModule {
95
95
  start(indexes: number[]): OneshotModule;
96
96
  /**
97
97
  * This method stops one-shot audio.
98
- * @param {Array<number>} index This argument selects instance of `AudioBufferSourceNode`.
98
+ * @param {Array<number>} indexes This argument selects instance of `AudioBufferSourceNode`.
99
99
  * @return {OneshotModule} Return value is for method chain.
100
100
  */
101
101
  stop(indexes: number[]): OneshotModule;
@@ -181,12 +181,12 @@ export declare class OneshotModule extends SoundModule {
181
181
  get OUTPUT(): GainNode;
182
182
  /**
183
183
  * This method gets `ArrayBuffer` and creates instance of `AudioBuffer`.
184
- * @param {string} url This argument is resource URL for one-shot audio.
185
- * @param {number} index This argument is in order to assign instance of `AudioBuffer`.
186
- * @param {number} timeout This argument is timeout of Ajax. The default value is 60000 msec (1 minutes).
187
- * @param {function} successCallback This argument is invoked on success;
188
- * @param {function} errorCallback This argument is invoked on failure.
189
- * @param {function} progressCallback This argument is invoked during receiving audio data.
184
+ * @property {string} url This argument is resource URL for one-shot audio.
185
+ * @property {number} index This argument is in order to assign instance of `AudioBuffer`.
186
+ * @property {number} timeout This argument is timeout of Ajax. The default value is 60000 msec (1 minutes).
187
+ * @property {function} successCallback This argument is invoked on success;
188
+ * @property {function} errorCallback This argument is invoked on failure.
189
+ * @property {function} progressCallback This argument is invoked during receiving audio data.
190
190
  */
191
191
  private load;
192
192
  }
@@ -27,6 +27,11 @@ import { Stereo } from '../SoundModule/Effectors/Stereo';
27
27
  import { Tremolo } from '../SoundModule/Effectors/Tremolo';
28
28
  import { VocalCanceler } from '../SoundModule/Effectors/VocalCanceler';
29
29
  import { Wah } from '../SoundModule/Effectors/Wah';
30
+ /**
31
+ * This subclass is for using `AudioWorkletNode` as sound source.
32
+ * @constructor
33
+ * @extends {SoundModule}
34
+ */
30
35
  export declare class ProcessorModule extends SoundModule {
31
36
  private workletNode;
32
37
  private processorName;
@@ -39,7 +44,7 @@ export declare class ProcessorModule extends SoundModule {
39
44
  constructor(context: AudioContext, bufferSize: BufferSize);
40
45
  /**
41
46
  * This method sets registered processor name and options for `AudioWorkletNode` constructor.
42
- * @param {string} name This argument is name of `AudioWorkletProcessor`.
47
+ * @param {string} processorName This argument is name of `AudioWorkletProcessor`.
43
48
  * @param {AudioWorkletNodeOptions} options This argument is object based on `AudioWorkletNodeOptions` dictionary.
44
49
  * @return {ProcessorModule} Return value is for method chain.
45
50
  */
@@ -71,13 +76,13 @@ export declare class ProcessorModule extends SoundModule {
71
76
  postMessage(data: unknown): ProcessorModule;
72
77
  /**
73
78
  * This method sets event handler that is invoked on receiving message.
74
- * @param {function} This argument is invoked on receiving message.
79
+ * @param {function} callback This argument is invoked on receiving message.
75
80
  * @return {ProcessorModule} Return value is for method chain.
76
81
  */
77
82
  onMessage(callback: (event: MessageEvent) => void): ProcessorModule;
78
83
  /**
79
84
  * This method sets event handler that is invoked on receiving message that cannot be deserialized.
80
- * @param {function} This argument is invoked on receiving message that cannot be deserialized.
85
+ * @param {function} callback This argument is invoked on receiving message that cannot be deserialized.
81
86
  * @return {ProcessorModule} Return value is for method chain.
82
87
  */
83
88
  onMessageError(callback: (event: MessageEvent) => void): ProcessorModule;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ProcessorModule/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,WAAW,EAAsB,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC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AKtC,gBAAgB;IACA,KAAK,IAAI,eAAe;IAKxC,gBAAgB;IAChB,IAAoB,KAAK,IAAI,QAAQ,GAAI,IAAI,CAQ5C;IAED,gBAAgB;IAChB,IAAoB,MAAM,IAAI,QAAQ,CAErC;CACF"}
@@ -0,0 +1,20 @@
1
+ import { AudioWorkletProcessor, Inputs, Outputs } from '../../../worklet';
2
+ /**
3
+ * This subclass is noise gate.
4
+ * @constructor
5
+ * @extends {AudioWorkletGlobalScope.AudioWorkletProcessor}
6
+ */
7
+ export declare class NoiseGateProcessor extends AudioWorkletProcessor {
8
+ private level;
9
+ private isActive;
10
+ constructor();
11
+ /** @override */
12
+ protected process(inputs: Inputs, outputs: Outputs): boolean;
13
+ /**
14
+ * This method detects background noise and removes this.
15
+ * @param {number} data This argument is amplitude (between -1 and 1).
16
+ * @return {number} Return value is `0` or raw data.
17
+ */
18
+ private gate;
19
+ }
20
+ //# sourceMappingURL=NoiseGateProcessor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NoiseGateProcessor.d.ts","sourceRoot":"","sources":["../../../../../src/SoundModule/Effectors/AudioWorkletProcessors/NoiseGateProcessor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG1E;;;;GAIG;AACH,qBAAa,kBAAmB,SAAQ,qBAAqB;IAC3D,OAAO,CAAC,KAAK,CAAK;IAClB,OAAO,CAAC,QAAQ,CAAQ;;IA2BxB,gBAAgB;cACG,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO;IAmBrE;;;;OAIG;IACH,OAAO,CAAC,IAAI;CASb"}
@@ -0,0 +1,35 @@
1
+ import { AudioWorkletProcessor, Inputs, Outputs } from '../../../worklet';
2
+ /**
3
+ * This subclass is noise suppressor.
4
+ * @constructor
5
+ * @extends {AudioWorkletGlobalScope.AudioWorkletProcessor}
6
+ */
7
+ export declare class NoiseSuppressorProcessor extends AudioWorkletProcessor {
8
+ /**
9
+ * This class (static) method executes FFT.
10
+ * @param {Float32Array} reals This argument is instance of `Float32Array` for real number.
11
+ * @param {Float32Array} imags This argument is instance of `Float32Array` for imaginary number.
12
+ * @param {number} size This argument is FFT size (power of two).
13
+ */
14
+ private static FFT;
15
+ /**
16
+ * This class (static) method executes IFFT.
17
+ * @param {Float32Array} reals This argument is instance of `Float32Array` for real number.
18
+ * @param {Float32Array} imags This argument is instance of `Float32Array` for imaginary number.
19
+ * @param {number} size This argument is IFFT size (power of two).
20
+ */
21
+ private static IFFT;
22
+ private threshold;
23
+ private isActive;
24
+ constructor();
25
+ /** @override */
26
+ protected process(inputs: Inputs, outputs: Outputs): boolean;
27
+ /**
28
+ * This method detects background noise and removes this.
29
+ * @param {Float32Array} inputs This argument is instance of `Float32Array` for FFT/IFFT.
30
+ * @param {Float32Array} outputs This argument is instance of `Float32Array` for FFT/IFFT.
31
+ * @param {number} fftSize This argument is FFT/IFFT size (power of two).
32
+ */
33
+ private suppress;
34
+ }
35
+ //# sourceMappingURL=NoiseSuppressorProcessor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NoiseSuppressorProcessor.d.ts","sourceRoot":"","sources":["../../../../../src/SoundModule/Effectors/AudioWorkletProcessors/NoiseSuppressorProcessor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG1E;;;;GAIG;AACH,qBAAa,wBAAyB,SAAQ,qBAAqB;IACjE;;;;;OAKG;IACH,OAAO,CAAC,MAAM,CAAC,GAAG;IA8DlB;;;;;OAKG;IACH,OAAO,CAAC,MAAM,CAAC,IAAI;IAmEnB,OAAO,CAAC,SAAS,CAAK;IACtB,OAAO,CAAC,QAAQ,CAAQ;;IA2BxB,gBAAgB;cACG,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO;IAiBrE;;;;;OAKG;IACH,OAAO,CAAC,QAAQ;CA0CjB"}
@@ -0,0 +1,36 @@
1
+ import { AudioWorkletProcessor, Inputs, Outputs } from '../../../worklet';
2
+ /**
3
+ * This subclass is pitch shifter.
4
+ * @constructor
5
+ * @extends {AudioWorkletGlobalScope.AudioWorkletProcessor}
6
+ */
7
+ export declare class PitchShifterProcessor extends AudioWorkletProcessor {
8
+ private static readonly GAIN_CORRECTION;
9
+ /**
10
+ * This class (static) method executes FFT.
11
+ * @param {Float32Array} reals This argument is instance of `Float32Array` for real number.
12
+ * @param {Float32Array} imags This argument is instance of `Float32Array` for imaginary number.
13
+ * @param {number} size This argument is FFT size (power of two).
14
+ */
15
+ private static FFT;
16
+ /**
17
+ * This class (static) method executes IFFT.
18
+ * @param {Float32Array} reals This argument is instance of `Float32Array` for real number.
19
+ * @param {Float32Array} imags This argument is instance of `Float32Array` for imaginary number.
20
+ * @param {number} size This argument is IFFT size (power of two).
21
+ */
22
+ private static IFFT;
23
+ private isActive;
24
+ private pitch;
25
+ constructor();
26
+ /** @override */
27
+ protected process(inputs: Inputs, outputs: Outputs): boolean;
28
+ /**
29
+ * This method shifts pitch.
30
+ * @param {Float32Array} inputs This argument is instance of `Float32Array` as input.
31
+ * @param {Float32Array} outputs This argument is instance of `Float32Array` as output.
32
+ * @param {number} size This argument is FFT size (power of two).
33
+ */
34
+ private shift;
35
+ }
36
+ //# sourceMappingURL=PitchShifterProcessor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PitchShifterProcessor.d.ts","sourceRoot":"","sources":["../../../../../src/SoundModule/Effectors/AudioWorkletProcessors/PitchShifterProcessor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG1E;;;;GAIG;AACH,qBAAa,qBAAsB,SAAQ,qBAAqB;IAC9D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAc;IAErD;;;;;OAKG;IACH,OAAO,CAAC,MAAM,CAAC,GAAG;IA8DlB;;;;;OAKG;IACH,OAAO,CAAC,MAAM,CAAC,IAAI;IAmEnB,OAAO,CAAC,QAAQ,CAAQ;IACxB,OAAO,CAAC,KAAK,CAAK;;IA2BlB,gBAAgB;cACG,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO;IAsBrE;;;;;OAKG;IACH,OAAO,CAAC,KAAK;CAiCd"}
@@ -0,0 +1,13 @@
1
+ import { AudioWorkletProcessor, Inputs, Outputs } from '../../../worklet';
2
+ /**
3
+ * This subclass is pseudo stereo effect.
4
+ * @constructor
5
+ * @extends {AudioWorkletGlobalScope.AudioWorkletProcessor}
6
+ */
7
+ export declare class StereoProcessor extends AudioWorkletProcessor {
8
+ private isActive;
9
+ constructor();
10
+ /** @override */
11
+ protected process(inputs: Inputs, outputs: Outputs): boolean;
12
+ }
13
+ //# sourceMappingURL=StereoProcessor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StereoProcessor.d.ts","sourceRoot":"","sources":["../../../../../src/SoundModule/Effectors/AudioWorkletProcessors/StereoProcessor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG1E;;;;GAIG;AACH,qBAAa,eAAgB,SAAQ,qBAAqB;IACxD,OAAO,CAAC,QAAQ,CAAS;;IAqBzB,gBAAgB;cACG,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO;CA4BtE"}
@@ -0,0 +1,21 @@
1
+ import { AudioWorkletProcessor, Inputs, Outputs } from '../../../worklet';
2
+ /**
3
+ * This subclass is vocal canceler.
4
+ * @constructor
5
+ * @extends {AudioWorkletGlobalScope.AudioWorkletProcessor}
6
+ */
7
+ export declare class VocalCancelerProcessor extends AudioWorkletProcessor {
8
+ private depth;
9
+ private isActive;
10
+ constructor();
11
+ /** @override */
12
+ protected process(inputs: Inputs, outputs: Outputs): boolean;
13
+ /**
14
+ * This method removes vocal part from audio on playing.
15
+ * @param {number} dataL This argument is gain level for Left channel.
16
+ * @param {number} dataR This argument is gain level for Right channel.
17
+ * @return {number} Return value is audio data except vocal part.
18
+ */
19
+ private cancel;
20
+ }
21
+ //# sourceMappingURL=VocalCancelerProcessor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VocalCancelerProcessor.d.ts","sourceRoot":"","sources":["../../../../../src/SoundModule/Effectors/AudioWorkletProcessors/VocalCancelerProcessor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG1E;;;;GAIG;AACH,qBAAa,sBAAuB,SAAQ,qBAAqB;IAC/D,OAAO,CAAC,KAAK,CAAK;IAClB,OAAO,CAAC,QAAQ,CAAQ;;IA2BxB,gBAAgB;cACG,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO;IAwBrE;;;;;OAKG;IACH,OAAO,CAAC,MAAM;CAOf"}
@@ -1,5 +1,4 @@
1
1
  import { Connectable, Statable } from '../../interfaces';
2
- import { BufferSize } from '../../types';
3
2
  /**
4
3
  * This class is superclass for effector classes.
5
4
  * Also, this class is used for implementing custom effector.
@@ -15,14 +14,12 @@ export declare abstract class Effector implements Connectable, Statable {
15
14
  protected lfo: OscillatorNode;
16
15
  protected depth: GainNode;
17
16
  protected rate: AudioParam;
18
- protected processor: ScriptProcessorNode;
19
17
  protected isActive: boolean;
20
18
  protected paused: boolean;
21
19
  /**
22
20
  * @param {AudioContext} context This argument is in order to use Web Audio API.
23
- * @param {BufferSize} bufferSize This argument is buffer size for `ScriptProcessorNode`.
24
21
  */
25
- constructor(context: AudioContext, bufferSize: BufferSize);
22
+ constructor(context: AudioContext);
26
23
  /**
27
24
  * This method starts LFO. Namely, this method starts effector.
28
25
  * @param {number} startTime This argument is in order to schedule parameter.
@@ -1 +1 @@
1
- {"version":3,"file":"Effector.d.ts","sourceRoot":"","sources":["../../../../src/SoundModule/Effectors/Effector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC;;;;;;;GAOG;AACH,8BAAsB,QAAS,YAAW,WAAW,EAAE,QAAQ;IAC7D,SAAS,CAAC,OAAO,EAAE,YAAY,CAAC;IAChC,SAAS,CAAC,KAAK,EAAE,QAAQ,CAAC;IAC1B,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC;IAE3B,SAAS,CAAC,GAAG,EAAE,cAAc,CAAC;IAC9B,SAAS,CAAC,KAAK,EAAE,QAAQ,CAAC;IAC1B,SAAS,CAAC,IAAI,EAAE,UAAU,CAAC;IAC3B,SAAS,CAAC,SAAS,EAAE,mBAAmB,CAAC;IAEzC,SAAS,CAAC,QAAQ,UAAQ;IAC1B,SAAS,CAAC,MAAM,UAAQ;IAExB;;;OAGG;gBACS,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU;IAezD;;;OAGG;IACI,KAAK,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI;IAStC;;;;OAIG;IACI,IAAI,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI;IAwB1D;;;;OAIG;aACa,OAAO,IAAI,QAAQ;IAEnC;;;OAGG;aACa,MAAM,IAAI,IAAI;IAE9B;;;OAGG;IACI,MAAM,IAAI,MAAM;IAIvB;;;OAGG;IACI,KAAK,IAAI,OAAO;IAIvB;;;OAGG;IACI,QAAQ,IAAI,QAAQ;IAY3B;;;OAGG;IACI,UAAU,IAAI,QAAQ;IAY7B;;OAEG;IACH,IAAW,KAAK,IAAI,QAAQ,CAE3B;IAED;;OAEG;IACH,IAAW,MAAM,IAAI,QAAQ,CAE5B;CACF"}
1
+ {"version":3,"file":"Effector.d.ts","sourceRoot":"","sources":["../../../../src/SoundModule/Effectors/Effector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEzD;;;;;;;GAOG;AACH,8BAAsB,QAAS,YAAW,WAAW,EAAE,QAAQ;IAC7D,SAAS,CAAC,OAAO,EAAE,YAAY,CAAC;IAChC,SAAS,CAAC,KAAK,EAAE,QAAQ,CAAC;IAC1B,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC;IAE3B,SAAS,CAAC,GAAG,EAAE,cAAc,CAAC;IAC9B,SAAS,CAAC,KAAK,EAAE,QAAQ,CAAC;IAC1B,SAAS,CAAC,IAAI,EAAE,UAAU,CAAC;IAE3B,SAAS,CAAC,QAAQ,UAAQ;IAC1B,SAAS,CAAC,MAAM,UAAQ;IAExB;;OAEG;gBACS,OAAO,EAAE,YAAY;IAcjC;;;OAGG;IACI,KAAK,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI;IAStC;;;;OAIG;IACI,IAAI,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI;IAwB1D;;;;OAIG;aACa,OAAO,IAAI,QAAQ;IAEnC;;;OAGG;aACa,MAAM,IAAI,IAAI;IAE9B;;;OAGG;IACI,MAAM,IAAI,MAAM;IAIvB;;;OAGG;IACI,KAAK,IAAI,OAAO;IAIvB;;;OAGG;IACI,QAAQ,IAAI,QAAQ;IAY3B;;;OAGG;IACI,UAAU,IAAI,QAAQ;IAY7B;;OAEG;IACH,IAAW,KAAK,IAAI,QAAQ,CAE3B;IAED;;OAEG;IACH,IAAW,MAAM,IAAI,QAAQ,CAE5B;CACF"}
@@ -9,6 +9,7 @@ export declare type NoiseGateParams = {
9
9
  * @extends {Effector}
10
10
  */
11
11
  export declare class NoiseGate extends Effector {
12
+ private processor;
12
13
  private level;
13
14
  /**
14
15
  * @param {AudioContext} context This argument is in order to use Web Audio API.
@@ -35,11 +36,5 @@ export declare class NoiseGate extends Effector {
35
36
  activate(): NoiseGate;
36
37
  /** @override */
37
38
  deactivate(): NoiseGate;
38
- /**
39
- * This method detects background noise and removes this.
40
- * @param {number} data This argument is amplitude (between -1 and 1).
41
- * @return {number} Return value is `0` or raw data.
42
- */
43
- private gate;
44
39
  }
45
40
  //# sourceMappingURL=NoiseGate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NoiseGate.d.ts","sourceRoot":"","sources":["../../../../src/SoundModule/Effectors/NoiseGate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,oBAAY,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAEF;;;;GAIG;AACH,qBAAa,SAAU,SAAQ,QAAQ;IACrC,OAAO,CAAC,KAAK,CAAK;IAElB;;OAEG;gBACS,OAAO,EAAE,YAAY;IAMjC,gBAAgB;IACA,KAAK,IAAI,IAAI;IAsB7B,gBAAgB;IACA,IAAI,IAAI,IAAI;IAgB5B,gBAAgB;IACA,OAAO,IAAI,QAAQ;IAiBnC;;;;;OAKG;IACI,KAAK,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO;IAC/B,KAAK,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM;IAC9B,KAAK,CAAC,MAAM,EAAE,eAAe,GAAG,SAAS;IAmChD,gBAAgB;IACT,MAAM,IAAI,QAAQ,CAAC,eAAe,CAAC;IAO1C,gBAAgB;IACA,QAAQ,IAAI,SAAS;IAKrC,gBAAgB;IACA,UAAU,IAAI,SAAS;IAKvC;;;;OAIG;IACH,OAAO,CAAC,IAAI;CASb"}
1
+ {"version":3,"file":"NoiseGate.d.ts","sourceRoot":"","sources":["../../../../src/SoundModule/Effectors/NoiseGate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,oBAAY,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAEF;;;;GAIG;AACH,qBAAa,SAAU,SAAQ,QAAQ;IACrC,OAAO,CAAC,SAAS,CAAmB;IAEpC,OAAO,CAAC,KAAK,CAAK;IAElB;;OAEG;gBACS,OAAO,EAAE,YAAY;IAOjC,gBAAgB;IACA,KAAK,IAAI,IAAI;IAG7B,gBAAgB;IACA,IAAI,IAAI,IAAI;IAG5B,gBAAgB;IACA,OAAO,IAAI,QAAQ;IAyBnC;;;;;OAKG;IACI,KAAK,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO;IAC/B,KAAK,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM;IAC9B,KAAK,CAAC,MAAM,EAAE,eAAe,GAAG,SAAS;IA+ChD,gBAAgB;IACT,MAAM,IAAI,QAAQ,CAAC,eAAe,CAAC;IAO1C,gBAAgB;IACA,QAAQ,IAAI,SAAS;IAKrC,gBAAgB;IACA,UAAU,IAAI,SAAS;CAIxC"}
@@ -1,4 +1,3 @@
1
- import { BufferSize } from '../../types';
2
1
  import { Effector } from './Effector';
3
2
  export declare type NoiseSuppressorParams = {
4
3
  state?: boolean;
@@ -10,12 +9,12 @@ export declare type NoiseSuppressorParams = {
10
9
  * @extends {Effector}
11
10
  */
12
11
  export declare class NoiseSuppressor extends Effector {
12
+ private processor;
13
13
  private threshold;
14
14
  /**
15
15
  * @param {AudioContext} context This argument is in order to use Web Audio API.
16
- * @param {BufferSize} bufferSize This argument is buffer size for `ScriptProcessorNode`.
17
16
  */
18
- constructor(context: AudioContext, bufferSize: BufferSize);
17
+ constructor(context: AudioContext);
19
18
  /** @override */
20
19
  start(): void;
21
20
  /** @override */
@@ -37,12 +36,5 @@ export declare class NoiseSuppressor extends Effector {
37
36
  activate(): NoiseSuppressor;
38
37
  /** @override */
39
38
  deactivate(): NoiseSuppressor;
40
- /**
41
- * This method detects background noise and removes this.
42
- * @param {Float32Array} inputs This argument is instance of `Float32Array` for FFT/IFFT.
43
- * @param {Float32Array} outputs This argument is instance of `Float32Array` for FFT/IFFT.
44
- * @param {number} fftSize This argument is FFT/IFFT size (power of two).
45
- */
46
- private suppress;
47
39
  }
48
40
  //# sourceMappingURL=NoiseSuppressor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NoiseSuppressor.d.ts","sourceRoot":"","sources":["../../../../src/SoundModule/Effectors/NoiseSuppressor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,oBAAY,qBAAqB,GAAG;IAClC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC;AAEF;;;;GAIG;AACH,qBAAa,eAAgB,SAAQ,QAAQ;IAC3C,OAAO,CAAC,SAAS,CAAK;IAEtB;;;OAGG;gBACS,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU;IAMzD,gBAAgB;IACA,KAAK,IAAI,IAAI;IAoB7B,gBAAgB;IACA,IAAI,IAAI,IAAI;IAgB5B,gBAAgB;IACA,OAAO,IAAI,QAAQ;IAiBnC;;;;;OAKG;IACI,KAAK,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO;IAC/B,KAAK,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM;IAClC,KAAK,CAAC,MAAM,EAAE,qBAAqB,GAAG,eAAe;IAqC5D,gBAAgB;IACA,MAAM,IAAI,QAAQ,CAAC,qBAAqB,CAAC;IAOzD,gBAAgB;IACA,QAAQ,IAAI,eAAe;IAK3C,gBAAgB;IACA,UAAU,IAAI,eAAe;IAK7C;;;;;OAKG;IACH,OAAO,CAAC,QAAQ;CA0CjB"}
1
+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