assassin-bug/framework/resonator/scenes/webaudio-scene.d.ts

15 lines
516 B
TypeScript
Raw Normal View History

2022-11-26 01:22:02 +00:00
import ResonatorAudioContext from '../audio-context';
import EventEmitter from 'eventemitter3';
export default class ResonatorScene extends EventEmitter {
scene: GainNode;
context: ResonatorAudioContext;
listener: AudioListener;
constructor(context: ResonatorAudioContext);
init(): void;
createSource(): any;
getOutput(): any;
getInput(): any;
setListenerPosition(x: number, y: number, z: number): void;
setListenerOrientation(forward: any, rawup: any): void;
}