mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
34 lines
902 B
TypeScript
34 lines
902 B
TypeScript
export default class FX {
|
|
audioContext: any;
|
|
frequencyValue: number;
|
|
attack: number;
|
|
decay: number;
|
|
type: string;
|
|
volumeValue: number;
|
|
panValue: number;
|
|
wait: number;
|
|
pitchBendAmount: number;
|
|
reverse: boolean;
|
|
randomValue: number;
|
|
dissonance: number;
|
|
echo: boolean;
|
|
echoDelay: number;
|
|
echoFeedback: number;
|
|
echoFilter: number;
|
|
reverb: boolean;
|
|
reverbDuration: number;
|
|
reverbDecay: number;
|
|
reverbReverse: boolean;
|
|
timeout: boolean;
|
|
volume: any;
|
|
pan: any;
|
|
constructor(ctx: any, config: any);
|
|
play(oscillator: any): void;
|
|
fadeIn(volume: any): void;
|
|
fadeOut(volume: any): void;
|
|
addReverb(volume: any): void;
|
|
addEcho(volume: any): void;
|
|
pitchBend(oscillator: any): void;
|
|
addDissonance(): void;
|
|
impulseResponse(duration: any, decay: any, reverse: any, audioContext?: any): any;
|
|
}
|