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.
- package/build/types/MML/Tree.d.ts +1 -1
- package/build/types/SoundModule/Effectors/AudioWorkletProcessors/PitchShifterProcessor.d.ts +1 -1
- package/build/types/SoundModule/Effectors/BitCrusher.d.ts +2 -0
- package/build/types/SoundModule/Effectors/BitCrusher.d.ts.map +1 -1
- package/build/types/SoundModule/Effectors/EnvelopeGenerator.d.ts +1 -1
- package/build/xsound.js +1 -1
- package/build/xsound.js.LICENSE.txt +1 -1
- package/build/xsound.js.map +1 -1
- package/build/xsound.min.js +1 -1
- package/build/xsound.min.js.LICENSE.txt +1 -1
- package/build/xsound.min.js.map +1 -1
- package/package.json +6 -6
|
@@ -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}
|
|
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}
|
|
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;
|
|
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,CAAC;IACd,UAAU,CAAC,EAAE,cAAc,CAAA;CAC5B,CAAC;AAEF;;;;GAIG;AACH,qBAAa,UAAW,SAAQ,QAAQ;IACtC,OAAO,CAAC,MAAM,CAAiB;IAC/B,OAAO,CAAC,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}
|
|
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;
|