xsound 3.6.0 → 3.6.1

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.
@@ -18,7 +18,7 @@ export declare class Tree {
18
18
  constructor(id: string, operator: Token, left: Tree | null, right: Tree | null);
19
19
  /**
20
20
  * This method concatenates subtree as right subtree.
21
- * @param {Tree} operator This argument is instance of `Tree` as syntax tree node.
21
+ * @param {Tree} node This argument is instance of `Tree` as syntax tree node.
22
22
  */
23
23
  concat(node: Tree): void;
24
24
  /**
@@ -29,7 +29,7 @@ export declare class PitchShifterProcessor extends AudioWorkletProcessor {
29
29
  * This method shifts pitch.
30
30
  * @param {Float32Array} inputs This argument is instance of `Float32Array` as input.
31
31
  * @param {Float32Array} outputs This argument is instance of `Float32Array` as output.
32
- * @param {number} size This argument is FFT size (power of two).
32
+ * @param {number} fftSize This argument is FFT size (power of two).
33
33
  */
34
34
  private shift;
35
35
  }
@@ -2,6 +2,7 @@ import { Effector } from './Effector';
2
2
  export type BitCrusherParams = {
3
3
  state?: boolean;
4
4
  bits?: number;
5
+ oversample?: OverSampleType;
5
6
  };
6
7
  /**
7
8
  * Effector's subclass for BitCrusher.
@@ -36,6 +37,7 @@ export declare class BitCrusher extends Effector {
36
37
  */
37
38
  param(params: 'state'): boolean;
38
39
  param(params: 'bits'): number;
40
+ param(params: 'oversample'): OverSampleType;
39
41
  param(params: BitCrusherParams): BitCrusher;
40
42
  /** @override */
41
43
  params(): Required<BitCrusherParams>;
@@ -1 +1 @@
1
- {"version":3,"file":"BitCrusher.d.ts","sourceRoot":"","sources":["../../../../src/SoundModule/Effectors/BitCrusher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAC;AAEF;;;;GAIG;AACH,qBAAa,U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WAAW,CAAiB;IACpC,OAAO,CAAC,YAAY,CAAiB;IACrC,OAAO,CAAC,UAAU,CAAW;IAC7B,OAAO,CAAC,WAAW,CAAW;IAC9B,OAAO,CAAC,SAAS,CAAqB;IACtC,OAAO,CAAC,QAAQ,CAAW;IAE3B,OAAO,CAAC,IAAI,CAAK;IAEjB;;OAEG;gBACS,OAAO,EAAE,YAAY;IAiDjC,gBAAgB;IACA,KAAK,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI;IAUhD,gBAAgB;IACA,IAAI,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI;IAmBrE,gBAAgB;IACA,OAAO,IAAI,QAAQ;IAwCnC;;;;;;OAMG;IACI,KAAK,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO;IAC/B,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM;IAC7B,KAAK,CAAC,MAAM,EAAE,YAAY,GAAG,cAAc;IAC3C,KAAK,CAAC,MAAM,EAAE,gBAAgB,GAAG,UAAU;IAoDlD,gBAAgB;IACA,MAAM,IAAI,QAAQ,CAAC,gBAAgB,CAAC;IAQpD,gBAAgB;IACA,QAAQ,IAAI,UAAU;IAKtC,gBAAgB;IACA,UAAU,IAAI,UAAU;CAIzC"}
@@ -76,7 +76,7 @@ export declare class EnvelopeGenerator implements Statable {
76
76
  paused(): boolean;
77
77
  /**
78
78
  * This method clears variables for managing instance of `GainNode`.
79
- * @param {boolean} isDisconnect This argument is in order to determine whether disconnect `AudioNode`.
79
+ * @param {boolean} disconnected This argument is in order to determine whether disconnect `AudioNode`.
80
80
  * @return {EnvelopeGenerator} This is returned for method chain.
81
81
  */
82
82
  clear(disconnected: boolean): void;