UNPKG

@ng-web-apis/audio

Version:

This is a library for declarative use of Web Audio API with Angular

11 lines (10 loc) 1.02 kB
import type { OnDestroy } from '@angular/core'; import { EventEmitter } from '@angular/core'; import * as i0 from "@angular/core"; export declare class WebAudioScriptProcessor extends ScriptProcessorNode implements OnDestroy { audioprocess?: EventEmitter<AudioProcessingEvent>; constructor(bufferSize: string | null, numberOfInputChannels: string | null, numberOfOutputChannels: string | null); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<WebAudioScriptProcessor, [{ attribute: "bufferSize"; }, { attribute: "numberOfInputChannels"; }, { attribute: "numberOfOutputChannels"; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration<WebAudioScriptProcessor, "[waScriptProcessorNode]", ["AudioNode"], { "channelCount": { "alias": "channelCount"; "required": false; }; "channelCountMode": { "alias": "channelCountMode"; "required": false; }; "channelInterpretation": { "alias": "channelInterpretation"; "required": false; }; }, { "audioprocess": "audioprocess"; }, never, never, true, never>; }