xsound 2.27.0 → 3.0.0-alpha
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/README.md +57 -29
- package/build/types/AudioModule/index.d.ts +198 -0
- package/build/types/AudioModule/index.d.ts.map +1 -0
- package/build/types/MIDI/index.d.ts +48 -0
- package/build/types/MIDI/index.d.ts.map +1 -0
- package/build/types/MML/Part.d.ts +78 -0
- package/build/types/MML/Part.d.ts.map +1 -0
- package/build/types/MML/Sequence.d.ts +66 -0
- package/build/types/MML/Sequence.d.ts.map +1 -0
- package/build/types/MML/Sequencer.d.ts +34 -0
- package/build/types/MML/Sequencer.d.ts.map +1 -0
- package/build/types/MML/Token.d.ts +40 -0
- package/build/types/MML/Token.d.ts.map +1 -0
- package/build/types/MML/Tokenizer.d.ts +21 -0
- package/build/types/MML/Tokenizer.d.ts.map +1 -0
- package/build/types/MML/Tree.d.ts +60 -0
- package/build/types/MML/Tree.d.ts.map +1 -0
- package/build/types/MML/TreeConstructor.d.ts +25 -0
- package/build/types/MML/TreeConstructor.d.ts.map +1 -0
- package/build/types/MML/index.d.ts +115 -0
- package/build/types/MML/index.d.ts.map +1 -0
- package/build/types/MediaModule/index.d.ts +223 -0
- package/build/types/MediaModule/index.d.ts.map +1 -0
- package/build/types/MixerModule/index.d.ts +99 -0
- package/build/types/MixerModule/index.d.ts.map +1 -0
- package/build/types/NoiseModule/index.d.ts +106 -0
- package/build/types/NoiseModule/index.d.ts.map +1 -0
- package/build/types/OneshotModule/index.d.ts +176 -0
- package/build/types/OneshotModule/index.d.ts.map +1 -0
- package/build/types/OscillatorModule/Glide.d.ts +47 -0
- package/build/types/OscillatorModule/Glide.d.ts.map +1 -0
- package/build/types/OscillatorModule/Oscillator.d.ts +77 -0
- package/build/types/OscillatorModule/Oscillator.d.ts.map +1 -0
- package/build/types/OscillatorModule/index.d.ts +138 -0
- package/build/types/OscillatorModule/index.d.ts.map +1 -0
- package/build/types/ProcessorModule/index.d.ts +124 -0
- package/build/types/ProcessorModule/index.d.ts.map +1 -0
- package/build/types/SoundModule/Analyser/FFT.d.ts +61 -0
- package/build/types/SoundModule/Analyser/FFT.d.ts.map +1 -0
- package/build/types/SoundModule/Analyser/Time.d.ts +54 -0
- package/build/types/SoundModule/Analyser/Time.d.ts.map +1 -0
- package/build/types/SoundModule/Analyser/TimeOverview.d.ts +132 -0
- package/build/types/SoundModule/Analyser/TimeOverview.d.ts.map +1 -0
- package/build/types/SoundModule/Analyser/Visualizer.d.ts +150 -0
- package/build/types/SoundModule/Analyser/Visualizer.d.ts.map +1 -0
- package/build/types/SoundModule/Analyser/index.d.ts +85 -0
- package/build/types/SoundModule/Analyser/index.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Autopanner.d.ts +39 -0
- package/build/types/SoundModule/Effectors/Autopanner.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Chorus.d.ts +51 -0
- package/build/types/SoundModule/Effectors/Chorus.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Compressor.d.ts +43 -0
- package/build/types/SoundModule/Effectors/Compressor.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Delay.d.ts +48 -0
- package/build/types/SoundModule/Effectors/Delay.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Distortion.d.ts +90 -0
- package/build/types/SoundModule/Effectors/Distortion.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Effector.d.ts +79 -0
- package/build/types/SoundModule/Effectors/Effector.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/EnvelopeGenerator.d.ts +90 -0
- package/build/types/SoundModule/Effectors/EnvelopeGenerator.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Equalizer.d.ts +44 -0
- package/build/types/SoundModule/Effectors/Equalizer.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Filter.d.ts +61 -0
- package/build/types/SoundModule/Effectors/Filter.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Flanger.d.ts +51 -0
- package/build/types/SoundModule/Effectors/Flanger.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Listener.d.ts +47 -0
- package/build/types/SoundModule/Effectors/Listener.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Panner.d.ts +68 -0
- package/build/types/SoundModule/Effectors/Panner.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Phaser.d.ts +55 -0
- package/build/types/SoundModule/Effectors/Phaser.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/PitchShifter.d.ts +42 -0
- package/build/types/SoundModule/Effectors/PitchShifter.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Reverb.d.ts +81 -0
- package/build/types/SoundModule/Effectors/Reverb.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Ringmodulator.d.ts +39 -0
- package/build/types/SoundModule/Effectors/Ringmodulator.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Stereo.d.ts +45 -0
- package/build/types/SoundModule/Effectors/Stereo.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Tremolo.d.ts +41 -0
- package/build/types/SoundModule/Effectors/Tremolo.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/VocalCanceler.d.ts +31 -0
- package/build/types/SoundModule/Effectors/VocalCanceler.d.ts.map +1 -0
- package/build/types/SoundModule/Effectors/Wah.d.ts +49 -0
- package/build/types/SoundModule/Effectors/Wah.d.ts.map +1 -0
- package/build/types/SoundModule/Recorder/Channel.d.ts +44 -0
- package/build/types/SoundModule/Recorder/Channel.d.ts.map +1 -0
- package/build/types/SoundModule/Recorder/Track.d.ts +36 -0
- package/build/types/SoundModule/Recorder/Track.d.ts.map +1 -0
- package/build/types/SoundModule/Recorder/index.d.ts +118 -0
- package/build/types/SoundModule/Recorder/index.d.ts.map +1 -0
- package/build/types/SoundModule/Session/Room.d.ts +69 -0
- package/build/types/SoundModule/Session/Room.d.ts.map +1 -0
- package/build/types/SoundModule/Session/index.d.ts +94 -0
- package/build/types/SoundModule/Session/index.d.ts.map +1 -0
- package/build/types/SoundModule/index.d.ts +147 -0
- package/build/types/SoundModule/index.d.ts.map +1 -0
- package/build/types/StreamModule/NoiseGate.d.ts +29 -0
- package/build/types/StreamModule/NoiseGate.d.ts.map +1 -0
- package/build/types/StreamModule/NoiseSuppressor.d.ts +30 -0
- package/build/types/StreamModule/NoiseSuppressor.d.ts.map +1 -0
- package/build/types/StreamModule/index.d.ts +175 -0
- package/build/types/StreamModule/index.d.ts.map +1 -0
- package/build/types/XSound/index.d.ts +155 -0
- package/build/types/XSound/index.d.ts.map +1 -0
- package/build/types/interfaces.d.ts +23 -0
- package/build/types/interfaces.d.ts.map +1 -0
- package/build/types/main.d.ts +117 -0
- package/build/types/main.d.ts.map +1 -0
- package/build/types/types.d.ts +10 -0
- package/build/types/types.d.ts.map +1 -0
- 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 +3 -0
- package/build/xsound.min.js.LICENSE.txt +1 -0
- package/build/xsound.min.js.map +1 -0
- package/package.json +38 -33
- package/build/xsound.d.ts +0 -3
|
@@ -0,0 +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,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,O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AG,GAAG;IAC9B,MAAM,CAAC,UAAU,EAAE,mBAAmB,GAAG,iBAAiB;IAkDjE,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;IAKtC;;;;OAIG;IACa,MAAM,IAAI,iBAAiB;CAQ5C"}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { BufferSize } from '../types';
|
|
2
|
+
import { SoundModule, SoundModuleParams } from '../SoundModule';
|
|
3
|
+
import { Analyser } from '../SoundModule/Analyser';
|
|
4
|
+
import { Recorder } from '../SoundModule/Recorder';
|
|
5
|
+
import { Session } from '../SoundModule/Session';
|
|
6
|
+
import { Autopanner } from '../SoundModule/Effectors/Autopanner';
|
|
7
|
+
import { Chorus } from '../SoundModule/Effectors/Chorus';
|
|
8
|
+
import { Compressor } from '../SoundModule/Effectors/Compressor';
|
|
9
|
+
import { Delay } from '../SoundModule/Effectors/Delay';
|
|
10
|
+
import { Distortion } from '../SoundModule/Effectors/Distortion';
|
|
11
|
+
import { EnvelopeGenerator } from '../SoundModule/Effectors/EnvelopeGenerator';
|
|
12
|
+
import { Equalizer } from '../SoundModule/Effectors/Equalizer';
|
|
13
|
+
import { Filter } from '../SoundModule/Effectors/Filter';
|
|
14
|
+
import { Flanger } from '../SoundModule/Effectors/Flanger';
|
|
15
|
+
import { Listener } from '../SoundModule/Effectors/Listener';
|
|
16
|
+
import { Panner } from '../SoundModule/Effectors/Panner';
|
|
17
|
+
import { Phaser } from '../SoundModule/Effectors/Phaser';
|
|
18
|
+
import { PitchShifter } from '../SoundModule/Effectors/PitchShifter';
|
|
19
|
+
import { Reverb } from '../SoundModule/Effectors/Reverb';
|
|
20
|
+
import { Ringmodulator } from '../SoundModule/Effectors/Ringmodulator';
|
|
21
|
+
import { Stereo } from '../SoundModule/Effectors/Stereo';
|
|
22
|
+
import { Tremolo } from '../SoundModule/Effectors/Tremolo';
|
|
23
|
+
import { Wah } from '../SoundModule/Effectors/Wah';
|
|
24
|
+
declare type OneshotErrorText = 'error' | 'timeout' | 'decode';
|
|
25
|
+
export declare type OneshotSetting = {
|
|
26
|
+
bufferIndex: number;
|
|
27
|
+
playbackRate?: number;
|
|
28
|
+
loop?: boolean;
|
|
29
|
+
loopStart?: number;
|
|
30
|
+
loopEnd?: number;
|
|
31
|
+
volume?: number;
|
|
32
|
+
};
|
|
33
|
+
export declare type OneshotSettings = OneshotSetting[];
|
|
34
|
+
export declare type OneshotModuleParams = SoundModuleParams & {
|
|
35
|
+
transpose?: number;
|
|
36
|
+
};
|
|
37
|
+
declare type Params = Partial<Pick<OneshotModuleParams, 'mastervolume' | 'transpose'>>;
|
|
38
|
+
/**
|
|
39
|
+
* This subclass is for playing one-shot audio
|
|
40
|
+
* @constructor
|
|
41
|
+
* @extends {SoundModule}
|
|
42
|
+
*/
|
|
43
|
+
export declare class OneshotModule extends SoundModule {
|
|
44
|
+
private sources;
|
|
45
|
+
private resources;
|
|
46
|
+
private buffers;
|
|
47
|
+
private volumes;
|
|
48
|
+
private states;
|
|
49
|
+
private settings;
|
|
50
|
+
private startTime;
|
|
51
|
+
private duration;
|
|
52
|
+
private transpose;
|
|
53
|
+
private paused;
|
|
54
|
+
private isLoadError;
|
|
55
|
+
private runningAnalyser;
|
|
56
|
+
/**
|
|
57
|
+
* @param {AudioContext} context This argument is in order to use Web Audio API.
|
|
58
|
+
* @param {BufferSize} bufferSize This argument is buffer size for `ScriptProcessorNode`.
|
|
59
|
+
*/
|
|
60
|
+
constructor(context: AudioContext, bufferSize: BufferSize);
|
|
61
|
+
/**
|
|
62
|
+
* This method creates instances of `AudioBuffer` by Ajax.
|
|
63
|
+
* @param {Array<string>|Array<AudioBuffer>} resources This argument is array that contains URL or instance of `AudioBuffer` for audio resources.
|
|
64
|
+
* @param {OneshotSettings} settings This argument is settings (such as `playbackRate`, `loop` ... etc) each audio sources.
|
|
65
|
+
* @param {number} timeout This argument is timeout of Ajax. The default value is 60000 msec (1 minutes).
|
|
66
|
+
* @param {function} successCallback This argument is invoked on success;
|
|
67
|
+
* @param {function} errorCallback This argument is invoked on failure.
|
|
68
|
+
* @param {function} progressCallback This argument is invoked during receiving audio data.
|
|
69
|
+
* @return {OneshotModule} Return value is for method chain.
|
|
70
|
+
*/
|
|
71
|
+
setup(params: {
|
|
72
|
+
resources: string[] | AudioBuffer[];
|
|
73
|
+
settings: OneshotSettings;
|
|
74
|
+
timeout?: number;
|
|
75
|
+
successCallback?(event: ProgressEvent, buffers: AudioBuffer[]): void;
|
|
76
|
+
errorCallback?(event: ProgressEvent | Error, textStatus: OneshotErrorText): void;
|
|
77
|
+
progressCallback?(event: ProgressEvent): void;
|
|
78
|
+
}): OneshotModule;
|
|
79
|
+
/**
|
|
80
|
+
* This method schedules playing audio.
|
|
81
|
+
* @param {number} startTime This argument is start time. The default value is `currentTime` in instance of `AudioContext`
|
|
82
|
+
* @param {number} duration This argument is duration. The default value is 0.
|
|
83
|
+
* @return {OneshotModule} Return value is for method chain.
|
|
84
|
+
*/
|
|
85
|
+
ready(startTime?: number, duration?: number): OneshotModule;
|
|
86
|
+
/**
|
|
87
|
+
* This method starts one-shot audio.
|
|
88
|
+
* @param {number} index This argument selects instance of `AudioBufferSourceNode`.
|
|
89
|
+
* @return {OneshotModule} Return value is for method chain.
|
|
90
|
+
*/
|
|
91
|
+
start(index: number): this;
|
|
92
|
+
/**
|
|
93
|
+
* This method stops one-shot audio.
|
|
94
|
+
* @param {number} index This argument selects instance of `AudioBufferSourceNode`.
|
|
95
|
+
* @return {OneshotModule} Return value is for method chain.
|
|
96
|
+
*/
|
|
97
|
+
stop(index: number): OneshotModule;
|
|
98
|
+
/**
|
|
99
|
+
* This method gets or sets parameters for one-shot module.
|
|
100
|
+
* This method is overloaded for type interface and type check.
|
|
101
|
+
* @param {keyof Params|Params} params This argument is string if getter. Otherwise, setter.
|
|
102
|
+
* @return {Params[keyof Params]|Params} Return value is parameter for one-shot module if getter.
|
|
103
|
+
* Otherwise, return value is for method chain.
|
|
104
|
+
*/
|
|
105
|
+
param(params: 'mastervolume'): number;
|
|
106
|
+
param(params: 'transpose'): number;
|
|
107
|
+
param(params: Params): Params[keyof Params];
|
|
108
|
+
/**
|
|
109
|
+
* This method gets instance of `AudioBuffer` or array that contains the all of `AudioBuffer`s.
|
|
110
|
+
* This method is overloaded for type interface and type check.
|
|
111
|
+
* @param {number} index This argument selects instance of `AudioBuffer`.
|
|
112
|
+
* @return {AudioBuffer|AudioBuffer[]}
|
|
113
|
+
*/
|
|
114
|
+
get(index: number): AudioBuffer;
|
|
115
|
+
get(): AudioBuffer[];
|
|
116
|
+
/**
|
|
117
|
+
* This method resets settings.
|
|
118
|
+
* @param {number} index This argument selects target setting.
|
|
119
|
+
* @param {keyof OneshotSetting} paramName This argument is one-shot parameter name.
|
|
120
|
+
* @param {OneshotSetting} param This argument is one-shot parameter value.
|
|
121
|
+
* @return {OneshotModule} Return value is for method chain.
|
|
122
|
+
*/
|
|
123
|
+
reset(index: number, paramName: keyof OneshotSetting, param: number | boolean): OneshotModule;
|
|
124
|
+
/**
|
|
125
|
+
* This method gets instance of `Module` (Analyser, Recorder, Effector ... etc).
|
|
126
|
+
* @param {ModuleName} moduleName This argument selects module.
|
|
127
|
+
* @return {Module}
|
|
128
|
+
*/
|
|
129
|
+
module(moduleName: 'analyser'): Analyser;
|
|
130
|
+
module(moduleName: 'recorder'): Recorder;
|
|
131
|
+
module(moduleName: 'session'): Session;
|
|
132
|
+
module(moduleName: 'autopanner'): Autopanner;
|
|
133
|
+
module(moduleName: 'chorus'): Chorus;
|
|
134
|
+
module(moduleName: 'compressor'): Compressor;
|
|
135
|
+
module(moduleName: 'delay'): Delay;
|
|
136
|
+
module(moduleName: 'distortion'): Distortion;
|
|
137
|
+
module(moduleName: 'equalizer'): Equalizer;
|
|
138
|
+
module(moduleName: 'filter'): Filter;
|
|
139
|
+
module(moduleName: 'flanger'): Flanger;
|
|
140
|
+
module(moduleName: 'listener'): Listener;
|
|
141
|
+
module(moduleName: 'panner'): Panner;
|
|
142
|
+
module(moduleName: 'phaser'): Phaser;
|
|
143
|
+
module(moduleName: 'pitchshifter'): PitchShifter;
|
|
144
|
+
module(moduleName: 'reverb'): Reverb;
|
|
145
|
+
module(moduleName: 'ringmodulator'): Ringmodulator;
|
|
146
|
+
module(moduleName: 'stereo'): Stereo;
|
|
147
|
+
module(moduleName: 'tremolo'): Tremolo;
|
|
148
|
+
module(moduleName: 'wah'): Wah;
|
|
149
|
+
module(moduleName: 'envelopegenerator'): EnvelopeGenerator;
|
|
150
|
+
/** @override */
|
|
151
|
+
resize(bufferSize: BufferSize): OneshotModule;
|
|
152
|
+
/** @override */
|
|
153
|
+
on(startTime?: number): OneshotModule;
|
|
154
|
+
/** @override */
|
|
155
|
+
off(stopTime?: number): OneshotModule;
|
|
156
|
+
/** @override */
|
|
157
|
+
suspend(): OneshotModule;
|
|
158
|
+
/**
|
|
159
|
+
* This method gets one-shot module parameters as associative array.
|
|
160
|
+
* @return {OneshotModuleParams}
|
|
161
|
+
* @override
|
|
162
|
+
*/
|
|
163
|
+
params(): OneshotModuleParams;
|
|
164
|
+
/**
|
|
165
|
+
* This method gets `ArrayBuffer` and creates instance of `AudioBuffer`.
|
|
166
|
+
* @param {string} url This argument is resource URL for one-shot audio.
|
|
167
|
+
* @param {number} index This argument is in order to assign instance of `AudioBuffer`.
|
|
168
|
+
* @param {number} timeout This argument is timeout of Ajax. The default value is 60000 msec (1 minutes).
|
|
169
|
+
* @param {function} successCallback This argument is invoked on success;
|
|
170
|
+
* @param {function} errorCallback This argument is invoked on failure.
|
|
171
|
+
* @param {function} progressCallback This argument is invoked during receiving audio data.
|
|
172
|
+
*/
|
|
173
|
+
private load;
|
|
174
|
+
}
|
|
175
|
+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ams = {
|
|
3
|
+
type?: GlideType;
|
|
4
|
+
time?: number;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* This private class is for oscillator glide.
|
|
8
|
+
* @constructor
|
|
9
|
+
*/
|
|
10
|
+
export declare class Glide {
|
|
11
|
+
private context;
|
|
12
|
+
private type;
|
|
13
|
+
private time;
|
|
14
|
+
private prevFrequency;
|
|
15
|
+
private nextFrequency;
|
|
16
|
+
/**
|
|
17
|
+
* @param {AudioContext} context This argument is in order to use Web Audio API.
|
|
18
|
+
*/
|
|
19
|
+
constructor(context: AudioContext);
|
|
20
|
+
/**
|
|
21
|
+
* This method sets frequencies for glide.
|
|
22
|
+
* @param {number} frequency This argument is next frequency for glide.
|
|
23
|
+
*/
|
|
24
|
+
ready(frequency: number): void;
|
|
25
|
+
/**
|
|
26
|
+
* This method starts glide.
|
|
27
|
+
* @param {OscillatorNode} oscillator This argument is instance of `OscillatorNode`.
|
|
28
|
+
* @param {number} startTime This argument is start time for glide.
|
|
29
|
+
*/
|
|
30
|
+
start(oscillator: OscillatorNode, startTime?: number): void;
|
|
31
|
+
/**
|
|
32
|
+
* This method stops glide. Moreover, This method prepares for next glide.
|
|
33
|
+
*/
|
|
34
|
+
stop(): void;
|
|
35
|
+
/**
|
|
36
|
+
* This method gets or sets parameters for glide.
|
|
37
|
+
* @param {keyof GlideParams|GlideParams} params This argument is string if getter. Otherwise, setter.
|
|
38
|
+
* @return {GlideParams[keyof GlideParams} Return value is parameter for glide if getter.
|
|
39
|
+
*/
|
|
40
|
+
param(params: keyof GlideParams | GlideParams): GlideParams[keyof GlideParams] | void;
|
|
41
|
+
/**
|
|
42
|
+
* This method gets glide parameters as associative array.
|
|
43
|
+
* @return {GlideParams}
|
|
44
|
+
*/
|
|
45
|
+
params(): GlideParams;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=Glide.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Glide.d.ts","sourceRoot":"","sources":["../../../src/OscillatorModule/Glide.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS,GAAG,QAAQ,GAAG,aAAa,CAAC;AAEjD,oBAAY,WAAW,GAAG;IACxB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAC;AAEF;;;GAGG;AACH,qBAAa,KAAK;IAChB,OAAO,CAAC,OAAO,CAAe;IAE9B,OAAO,CAAC,IAAI,CAAuB;IAEnC,OAAO,CAAC,IAAI,CAAK;IAEjB,OAAO,CAAC,aAAa,CAAM;IAC3B,OAAO,CAAC,aAAa,CAAK;IAE1B;;OAEG;gBACS,OAAO,EAAE,YAAY;IAIjC;;;OAGG;IACI,KAAK,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAWrC;;;;OAIG;IACI,KAAK,CAAC,UAAU,EAAE,cAAc,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI;IAelE;;OAEG;IACI,IAAI,IAAI,IAAI;IAKnB;;;;OAIG;IACI,KAAK,CAAC,MAAM,EAAE,MAAM,WAAW,GAAG,WAAW,GAAG,WAAW,CAAC,MAAM,WAAW,CAAC,GAAG,IAAI;IAgC5F;;;OAGG;IACI,MAAM,IAAI,WAAW;CAM7B"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Connectable, Statable } from '../interfaces';
|
|
2
|
+
export declare type OscillatorCustomType = {
|
|
3
|
+
real: Float32Array;
|
|
4
|
+
imag: Float32Array;
|
|
5
|
+
};
|
|
6
|
+
export declare type OscillatorParams = {
|
|
7
|
+
state?: boolean;
|
|
8
|
+
type?: OscillatorType | OscillatorCustomType;
|
|
9
|
+
octave?: number;
|
|
10
|
+
fine?: number;
|
|
11
|
+
volume?: number;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* This private class is entity for oscillator.
|
|
15
|
+
* @constructor
|
|
16
|
+
* @implements {Connectable}
|
|
17
|
+
* @implements {Statable}
|
|
18
|
+
*/
|
|
19
|
+
export declare class Oscillator implements Connectable, Statable {
|
|
20
|
+
static OCTAVE: number;
|
|
21
|
+
private context;
|
|
22
|
+
private source;
|
|
23
|
+
private volume;
|
|
24
|
+
private octave;
|
|
25
|
+
private fine;
|
|
26
|
+
private custom;
|
|
27
|
+
private isActive;
|
|
28
|
+
private paused;
|
|
29
|
+
/**
|
|
30
|
+
* @param {AudioContext} context This argument is in order to use Web Audio API.
|
|
31
|
+
* @param {boolean} state This argument is initial state.
|
|
32
|
+
*/
|
|
33
|
+
constructor(context: AudioContext, state: boolean);
|
|
34
|
+
/**
|
|
35
|
+
* This method connects `AudioNode`s.
|
|
36
|
+
* @param {AudioNode} output This argument is instance of `AudioNode` as output.
|
|
37
|
+
*/
|
|
38
|
+
ready(output: AudioNode): void;
|
|
39
|
+
/**
|
|
40
|
+
* This method starts sound.
|
|
41
|
+
* @param {number} startTime This argument is start time.
|
|
42
|
+
*/
|
|
43
|
+
start(startTime?: number): void;
|
|
44
|
+
/**
|
|
45
|
+
* This method stops sound.
|
|
46
|
+
* @param {number} stopTime This argument is stop time.
|
|
47
|
+
*/
|
|
48
|
+
stop(stopTime?: number): void;
|
|
49
|
+
/**
|
|
50
|
+
* This method gets or sets parameters for oscillator.
|
|
51
|
+
* @param {keyof OscillatorParams|OscillatorParams} params This argument is string if getter. Otherwise, setter.
|
|
52
|
+
* @return {OscillatorParams[keyof OscillatorParams]} Return value is parameter for oscillator if getter.
|
|
53
|
+
* Otherwise, return value is for method chain.
|
|
54
|
+
*/
|
|
55
|
+
param(params: keyof OscillatorParams | OscillatorParams): OscillatorParams[keyof OscillatorParams] | Oscillator;
|
|
56
|
+
/**
|
|
57
|
+
* This method gets instance of `OscillatorNode`.
|
|
58
|
+
* @return {OscillatorNode}
|
|
59
|
+
*/
|
|
60
|
+
get(): OscillatorNode;
|
|
61
|
+
/** @override */
|
|
62
|
+
state(): boolean;
|
|
63
|
+
/** @override */
|
|
64
|
+
activate(): Oscillator;
|
|
65
|
+
/** @override */
|
|
66
|
+
deactivate(): Oscillator;
|
|
67
|
+
/**
|
|
68
|
+
* This method gets oscillator parameters as associative array.
|
|
69
|
+
* @return {OscillatorParams}
|
|
70
|
+
*/
|
|
71
|
+
params(): OscillatorParams;
|
|
72
|
+
/** @override */
|
|
73
|
+
get INPUT(): OscillatorNode;
|
|
74
|
+
/** @override */
|
|
75
|
+
get OUTPUT(): GainNode;
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=Oscillator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Oscillator.d.ts","sourceRoot":"","sources":["../../../src/OscillatorModule/Oscillator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEtD,oBAAY,oBAAoB,GAAG;IACjC,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,cAAc,GAAG,oBAAoB,CAAC;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAC;AAEF;;;;;GAKG;AACH,qBAAa,UAAW,YAAW,WAAW,EAAE,QAAQ;IAEtD,OAAc,MAAM,SAAQ;IAE5B,OAAO,CAAC,OAAO,CAAe;IAC9B,OAAO,CAAC,MAAM,CAAiB;IAC/B,OAAO,CAAC,MAAM,CAAW;IAEzB,OAAO,CAAC,MAAM,CAAK;IACnB,OAAO,CAAC,IAAI,CAAK;IACjB,OAAO,CAAC,MAAM,CAGZ;IAEF,OAAO,CAAC,QAAQ,CAAU;IAG1B,OAAO,CAAC,MAAM,CAAQ;IAEtB;;;OAGG;gBACS,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,OAAO;IAQjD;;;OAGG;IACI,KAAK,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI;IAkCrC;;;OAGG;IACI,KAAK,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI;IActC;;;OAGG;IACI,IAAI,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI;IAWpC;;;;;OAKG;IACI,KAAK,CAAC,MAAM,EAAE,MAAM,gBAAgB,GAAG,gBAAgB,GAAG,gBAAgB,CAAC,MAAM,gBAAgB,CAAC,GAAG,UAAU;IAsEtH;;;OAGG;IACI,GAAG,IAAI,cAAc;IAI5B,gBAAgB;IACT,KAAK,IAAI,OAAO;IAIvB,gBAAgB;IACT,QAAQ,IAAI,UAAU;IAM7B,gBAAgB;IACT,UAAU,IAAI,UAAU;IAM/B;;;OAGG;IACI,MAAM,IAAI,gBAAgB;IAUjC,gBAAgB;IAChB,IAAW,KAAK,IAAI,cAAc,CAEjC;IAED,gBAAgB;IAChB,IAAW,MAAM,IAAI,QAAQ,CAE5B;CACF"}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { BufferSize } from '../types';
|
|
2
|
+
import { SoundModule, SoundModuleParams } from '../SoundModule';
|
|
3
|
+
import { Analyser } from '../SoundModule/Analyser';
|
|
4
|
+
import { Recorder } from '../SoundModule/Recorder';
|
|
5
|
+
import { Session } from '../SoundModule/Session';
|
|
6
|
+
import { Autopanner } from '../SoundModule/Effectors/Autopanner';
|
|
7
|
+
import { Chorus } from '../SoundModule/Effectors/Chorus';
|
|
8
|
+
import { Compressor } from '../SoundModule/Effectors/Compressor';
|
|
9
|
+
import { Delay } from '../SoundModule/Effectors/Delay';
|
|
10
|
+
import { Distortion } from '../SoundModule/Effectors/Distortion';
|
|
11
|
+
import { EnvelopeGenerator } from '../SoundModule/Effectors/EnvelopeGenerator';
|
|
12
|
+
import { Equalizer } from '../SoundModule/Effectors/Equalizer';
|
|
13
|
+
import { Filter } from '../SoundModule/Effectors/Filter';
|
|
14
|
+
import { Flanger } from '../SoundModule/Effectors/Flanger';
|
|
15
|
+
import { Listener } from '../SoundModule/Effectors/Listener';
|
|
16
|
+
import { Panner } from '../SoundModule/Effectors/Panner';
|
|
17
|
+
import { Phaser } from '../SoundModule/Effectors/Phaser';
|
|
18
|
+
import { PitchShifter } from '../SoundModule/Effectors/PitchShifter';
|
|
19
|
+
import { Reverb } from '../SoundModule/Effectors/Reverb';
|
|
20
|
+
import { Ringmodulator } from '../SoundModule/Effectors/Ringmodulator';
|
|
21
|
+
import { Stereo } from '../SoundModule/Effectors/Stereo';
|
|
22
|
+
import { Tremolo } from '../SoundModule/Effectors/Tremolo';
|
|
23
|
+
import { Wah } from '../SoundModule/Effectors/Wah';
|
|
24
|
+
import { Glide, GlideParams } from './Glide';
|
|
25
|
+
import { Oscillator, OscillatorParams } from './Oscillator';
|
|
26
|
+
export type { GlideParams, OscillatorParams };
|
|
27
|
+
export declare type OscillatorModuleParams = SoundModuleParams & {
|
|
28
|
+
oscillator: {
|
|
29
|
+
glide: GlideParams;
|
|
30
|
+
params: OscillatorParams[];
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
declare type Params = Partial<Pick<OscillatorModuleParams, 'mastervolume'>>;
|
|
34
|
+
/**
|
|
35
|
+
* This class manages instances of `Oscillator` for creating sound.
|
|
36
|
+
* @constructor
|
|
37
|
+
* @extends {SoundModule}
|
|
38
|
+
*/
|
|
39
|
+
export declare class OscillatorModule extends SoundModule {
|
|
40
|
+
private sources;
|
|
41
|
+
private glide;
|
|
42
|
+
private startTime;
|
|
43
|
+
private duration;
|
|
44
|
+
private runningAnalyser;
|
|
45
|
+
/**
|
|
46
|
+
* @param {AudioContext} context This argument is in order to use the interfaces of Web Audio API.
|
|
47
|
+
* @param {BufferSize} bufferSize This argument is buffer size for `ScriptProcessorNode`.
|
|
48
|
+
*/
|
|
49
|
+
constructor(context: AudioContext, bufferSize: BufferSize);
|
|
50
|
+
/**
|
|
51
|
+
* This method creates instances of `Oscillator`.
|
|
52
|
+
* @param {Array<boolean>} states This argument is array that contains initial state in instance of `Oscillator`.
|
|
53
|
+
* @return {OscillatorModule} Return value is for method chain.
|
|
54
|
+
*/
|
|
55
|
+
setup(states: boolean[]): OscillatorModule;
|
|
56
|
+
/**
|
|
57
|
+
* This method schedules the time of start and stop.
|
|
58
|
+
* @param {number} startTime This argument is the start time. The default value is 0.
|
|
59
|
+
* @param {number} duration This argument is duration. The default value is 0.
|
|
60
|
+
* @return {OscillatorModule} Return value is for method chain.
|
|
61
|
+
*/
|
|
62
|
+
ready(startTime: number, duration: number): OscillatorModule;
|
|
63
|
+
/**
|
|
64
|
+
* This method starts some sounds that are active at the same time.
|
|
65
|
+
* @param {Array<number>} frequencies This argument each oscillator frequency. The default value is 0 Hz.
|
|
66
|
+
* @return {OscillatorModule} Return value is for method chain.
|
|
67
|
+
*/
|
|
68
|
+
start(frequencies: number[]): this;
|
|
69
|
+
/**
|
|
70
|
+
* This method stops active sounds.
|
|
71
|
+
* @return {OscillatorModule} Return value is for method chain.
|
|
72
|
+
*/
|
|
73
|
+
stop(): OscillatorModule;
|
|
74
|
+
/**
|
|
75
|
+
* This method gets or sets parameters for oscillator module.
|
|
76
|
+
* This method is overloaded for type interface and type check.
|
|
77
|
+
* @param {keyof Params|Params} params This argument is string if getter. Otherwise, setter.
|
|
78
|
+
* @return {Params[keyof Params]|OscillatorModule} Return value is parameter for oscillator module if getter.
|
|
79
|
+
* Otherwise, return value is for method chain.
|
|
80
|
+
*/
|
|
81
|
+
param(params: 'mastervolume'): number;
|
|
82
|
+
param(params: Params): OscillatorModule;
|
|
83
|
+
/**
|
|
84
|
+
* This method gets instance of `Oscillator` or array that contains the all of `Oscillator`s.
|
|
85
|
+
* This method is overloaded for type interface and type check.
|
|
86
|
+
* @param {number} index This argument selects instance of `Oscillator`.
|
|
87
|
+
* @return {Oscillator|Array<Oscillator>}
|
|
88
|
+
*/
|
|
89
|
+
get(index: number): Oscillator;
|
|
90
|
+
get(): Oscillator[];
|
|
91
|
+
/**
|
|
92
|
+
* This method returns the number of `Oscillator`s.
|
|
93
|
+
* @return {number}
|
|
94
|
+
*/
|
|
95
|
+
length(): number;
|
|
96
|
+
/**
|
|
97
|
+
* This method gets instance of `Module` (Analyser, Recorder, Effector ... etc).
|
|
98
|
+
* @param {ModuleName|'glide'} moduleName This argument selects module.
|
|
99
|
+
* @return {Module|Glide}
|
|
100
|
+
*/
|
|
101
|
+
module(moduleName: 'analyser'): Analyser;
|
|
102
|
+
module(moduleName: 'recorder'): Recorder;
|
|
103
|
+
module(moduleName: 'session'): Session;
|
|
104
|
+
module(moduleName: 'autopanner'): Autopanner;
|
|
105
|
+
module(moduleName: 'chorus'): Chorus;
|
|
106
|
+
module(moduleName: 'compressor'): Compressor;
|
|
107
|
+
module(moduleName: 'delay'): Delay;
|
|
108
|
+
module(moduleName: 'distortion'): Distortion;
|
|
109
|
+
module(moduleName: 'equalizer'): Equalizer;
|
|
110
|
+
module(moduleName: 'filter'): Filter;
|
|
111
|
+
module(moduleName: 'flanger'): Flanger;
|
|
112
|
+
module(moduleName: 'listener'): Listener;
|
|
113
|
+
module(moduleName: 'panner'): Panner;
|
|
114
|
+
module(moduleName: 'phaser'): Phaser;
|
|
115
|
+
module(moduleName: 'pitchshifter'): PitchShifter;
|
|
116
|
+
module(moduleName: 'reverb'): Reverb;
|
|
117
|
+
module(moduleName: 'ringmodulator'): Ringmodulator;
|
|
118
|
+
module(moduleName: 'stereo'): Stereo;
|
|
119
|
+
module(moduleName: 'tremolo'): Tremolo;
|
|
120
|
+
module(moduleName: 'wah'): Wah;
|
|
121
|
+
module(moduleName: 'envelopegenerator'): EnvelopeGenerator;
|
|
122
|
+
module(moduleName: 'glide'): Glide;
|
|
123
|
+
/** @override */
|
|
124
|
+
resize(bufferSize: BufferSize): OscillatorModule;
|
|
125
|
+
/** @override */
|
|
126
|
+
on(startTime?: number): OscillatorModule;
|
|
127
|
+
/** @override */
|
|
128
|
+
off(stopTime?: number): OscillatorModule;
|
|
129
|
+
/** @override */
|
|
130
|
+
suspend(): OscillatorModule;
|
|
131
|
+
/**
|
|
132
|
+
* This method gets oscillator module parameters as associative array.
|
|
133
|
+
* @return {OscillatorModuleParams}
|
|
134
|
+
* @override
|
|
135
|
+
*/
|
|
136
|
+
params(): OscillatorModuleParams;
|
|
137
|
+
}
|
|
138
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/OscillatorModule/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,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,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,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;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C,UAAU,EAAE,KAAK,GAAG,GAAG;IAC9B,MAAM,CAAC,UAAU,EAAE,mBAAmB,GAAG,iBAAiB;IAC1D,MAAM,CAAC,UAAU,EAAE,OAAO,GAAG,KAAK;IAoDzC,gBAAgB;IACA,MAAM,CAAC,UAAU,EAAE,UAAU,GAAG,gBAAgB;IAKhE,gBAAgB;IACA,EAAE,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,gBAAgB;IAKxD,gBAAgB;IACA,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,gBAAgB;IAKxD,gBAAgB;IACA,OAAO,IAAI,gBAAgB;IAK3C;;;;OAIG;IACa,MAAM,IAAI,sBAAsB;CAajD"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { BufferSize } from '../types';
|
|
2
|
+
import { SoundModule } from '../SoundModule';
|
|
3
|
+
import { Analyser } from '../SoundModule/Analyser';
|
|
4
|
+
import { Recorder } from '../SoundModule/Recorder';
|
|
5
|
+
import { Session } from '../SoundModule/Session';
|
|
6
|
+
import { Autopanner } from '../SoundModule/Effectors/Autopanner';
|
|
7
|
+
import { Chorus } from '../SoundModule/Effectors/Chorus';
|
|
8
|
+
import { Compressor } from '../SoundModule/Effectors/Compressor';
|
|
9
|
+
import { Delay } from '../SoundModule/Effectors/Delay';
|
|
10
|
+
import { Distortion } from '../SoundModule/Effectors/Distortion';
|
|
11
|
+
import { EnvelopeGenerator } from '../SoundModule/Effectors/EnvelopeGenerator';
|
|
12
|
+
import { Equalizer } from '../SoundModule/Effectors/Equalizer';
|
|
13
|
+
import { Filter } from '../SoundModule/Effectors/Filter';
|
|
14
|
+
import { Flanger } from '../SoundModule/Effectors/Flanger';
|
|
15
|
+
import { Listener } from '../SoundModule/Effectors/Listener';
|
|
16
|
+
import { Panner } from '../SoundModule/Effectors/Panner';
|
|
17
|
+
import { Phaser } from '../SoundModule/Effectors/Phaser';
|
|
18
|
+
import { PitchShifter } from '../SoundModule/Effectors/PitchShifter';
|
|
19
|
+
import { Reverb } from '../SoundModule/Effectors/Reverb';
|
|
20
|
+
import { Ringmodulator } from '../SoundModule/Effectors/Ringmodulator';
|
|
21
|
+
import { Stereo } from '../SoundModule/Effectors/Stereo';
|
|
22
|
+
import { Tremolo } from '../SoundModule/Effectors/Tremolo';
|
|
23
|
+
import { Wah } from '../SoundModule/Effectors/Wah';
|
|
24
|
+
export declare class ProcessorModule extends SoundModule {
|
|
25
|
+
private worklet;
|
|
26
|
+
private workletName;
|
|
27
|
+
private options;
|
|
28
|
+
private moduleURL;
|
|
29
|
+
private runningAnalyser;
|
|
30
|
+
/**
|
|
31
|
+
* @param {AudioContext} context This argument is in order to use Web Audio API.
|
|
32
|
+
* @param {BufferSize} bufferSize This argument is buffer size for `ScriptProcessorNode`.
|
|
33
|
+
*/
|
|
34
|
+
constructor(context: AudioContext, bufferSize: BufferSize);
|
|
35
|
+
/**
|
|
36
|
+
* This method sets registered worklet and options for `AudioWorkletNode` constructor.
|
|
37
|
+
* @param {string} name This argument is name of `AudioWorkletProcessor`.
|
|
38
|
+
* @param {AudioWorkletNodeOptions} options This argument is object based on `AudioWorkletNodeOptions` dictionary.
|
|
39
|
+
* @return {ProcessorModule} Return value is for method chain.
|
|
40
|
+
*/
|
|
41
|
+
setup(workletName: string, options?: AudioWorkletNodeOptions): ProcessorModule;
|
|
42
|
+
/**
|
|
43
|
+
* This method adds module for worklet and creates the instance of `AudioWorkletNode`.
|
|
44
|
+
* @param {string} moduleURL This argument is string that contains URL of file (.js) with module to add.
|
|
45
|
+
* @param {WorkletOptions} options This argument is one of 'omit', 'same-origin', 'include'. The default value is 'same-origin'.
|
|
46
|
+
* @return {Promise<void>} Return value is `Promise` that `addModule` returns.
|
|
47
|
+
*/
|
|
48
|
+
ready(moduleURL: string, options?: WorkletOptions): Promise<void>;
|
|
49
|
+
/**
|
|
50
|
+
* This method starts sound by connecting to `AudioDestinationNode`.
|
|
51
|
+
* @param {function} processCallback This argument is `onaudioprocess` event handler for `ScriptProcessorNode`.
|
|
52
|
+
* Therefore, if use AudioWorklet, this argument is unused.
|
|
53
|
+
* @return {ProcessorModule} Return value is for method chain.
|
|
54
|
+
*/
|
|
55
|
+
start(processCallback?: (event: AudioProcessingEvent) => void): ProcessorModule;
|
|
56
|
+
/**
|
|
57
|
+
* This method stops sound by disconnecting to `AudioDestinationNode`.
|
|
58
|
+
* @return {ProcessorModule} Return value is for method chain.
|
|
59
|
+
*/
|
|
60
|
+
stop(): ProcessorModule;
|
|
61
|
+
/**
|
|
62
|
+
* This method sends message from `MessagePort` that `AudioWorkletNode` has.
|
|
63
|
+
* @param {unknown} data This argument is sent as any data.
|
|
64
|
+
* @return {ProcessorModule} Return value is for method chain.
|
|
65
|
+
*/
|
|
66
|
+
postMessage(data: unknown): ProcessorModule;
|
|
67
|
+
/**
|
|
68
|
+
* This method sets event handler that is invoked on receiving message.
|
|
69
|
+
* @param {function} This argument is invoked on receiving message.
|
|
70
|
+
* @return {ProcessorModule} Return value is for method chain.
|
|
71
|
+
*/
|
|
72
|
+
onMessage(callback: (event: MessageEvent) => void): ProcessorModule;
|
|
73
|
+
/**
|
|
74
|
+
* This method sets event handler that is invoked on receiving message that cannot be deserialized.
|
|
75
|
+
* @param {function} This argument is invoked on receiving message that cannot be deserialized.
|
|
76
|
+
* @return {ProcessorModule} Return value is for method chain.
|
|
77
|
+
*/
|
|
78
|
+
onMessageError(callback: (event: MessageEvent) => void): ProcessorModule;
|
|
79
|
+
/**
|
|
80
|
+
* This method gets map based on `AudioParamMap`.
|
|
81
|
+
* @return {AudioParamMap|null}
|
|
82
|
+
*/
|
|
83
|
+
map(): AudioParamMap | null;
|
|
84
|
+
/**
|
|
85
|
+
* This method gets instance of `AudioWorkletNode` (or `ScriptProcessorNode`).
|
|
86
|
+
* @return {AudioWorkletNode|ScriptProcessorNode|null}
|
|
87
|
+
*/
|
|
88
|
+
get(): AudioWorkletNode | ScriptProcessorNode | null;
|
|
89
|
+
/**
|
|
90
|
+
* This method gets instance of `Module` (Analyser, Recorder, Effector ... etc).
|
|
91
|
+
* @param {ModuleName} moduleName This argument selects module.
|
|
92
|
+
* @return {Module}
|
|
93
|
+
*/
|
|
94
|
+
module(moduleName: 'analyser'): Analyser;
|
|
95
|
+
module(moduleName: 'recorder'): Recorder;
|
|
96
|
+
module(moduleName: 'session'): Session;
|
|
97
|
+
module(moduleName: 'autopanner'): Autopanner;
|
|
98
|
+
module(moduleName: 'chorus'): Chorus;
|
|
99
|
+
module(moduleName: 'compressor'): Compressor;
|
|
100
|
+
module(moduleName: 'delay'): Delay;
|
|
101
|
+
module(moduleName: 'distortion'): Distortion;
|
|
102
|
+
module(moduleName: 'equalizer'): Equalizer;
|
|
103
|
+
module(moduleName: 'filter'): Filter;
|
|
104
|
+
module(moduleName: 'flanger'): Flanger;
|
|
105
|
+
module(moduleName: 'listener'): Listener;
|
|
106
|
+
module(moduleName: 'panner'): Panner;
|
|
107
|
+
module(moduleName: 'phaser'): Phaser;
|
|
108
|
+
module(moduleName: 'pitchshifter'): PitchShifter;
|
|
109
|
+
module(moduleName: 'reverb'): Reverb;
|
|
110
|
+
module(moduleName: 'ringmodulator'): Ringmodulator;
|
|
111
|
+
module(moduleName: 'stereo'): Stereo;
|
|
112
|
+
module(moduleName: 'tremolo'): Tremolo;
|
|
113
|
+
module(moduleName: 'wah'): Wah;
|
|
114
|
+
module(moduleName: 'envelopegenerator'): EnvelopeGenerator;
|
|
115
|
+
/** @override */
|
|
116
|
+
resize(bufferSize: BufferSize): ProcessorModule;
|
|
117
|
+
/** @override */
|
|
118
|
+
on(startTime?: number): ProcessorModule;
|
|
119
|
+
/** @override */
|
|
120
|
+
off(stopTime?: number): ProcessorModule;
|
|
121
|
+
/** @override */
|
|
122
|
+
suspend(): ProcessorModule;
|
|
123
|
+
}
|
|
124
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ProcessorModule/index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