interface BaseAudioContext
implements EventTarget
import { type BaseAudioContext } from "https://deno.land/x/windmill@v1.361.1/node_modules/evt/src/lib/types/lib.dom.ts";
Properties
readonly
audioWorklet: AudioWorkletreadonly
destination: AudioDestinationNodereadonly
listener: AudioListeneronstatechange: ((this: BaseAudioContext, ev: Event) => any) | null
readonly
state: AudioContextStateMethods
createAnalyser(): AnalyserNode
createBiquadFilter(): BiquadFilterNode
createBuffer(): AudioBuffer
numberOfChannels: number,
length: number,
sampleRate: number,
createBufferSource(): AudioBufferSourceNode
createChannelMerger(numberOfInputs?: number): ChannelMergerNode
createChannelSplitter(numberOfOutputs?: number): ChannelSplitterNode
createConstantSource(): ConstantSourceNode
createConvolver(): ConvolverNode
createDelay(maxDelayTime?: number): DelayNode
createDynamicsCompressor(): DynamicsCompressorNode
createGain(): GainNode
createIIRFilter(feedforward: number[], feedback: number[]): IIRFilterNode
createOscillator(): OscillatorNode
createPanner(): PannerNode
createPeriodicWave(): PeriodicWave
createScriptProcessor(): ScriptProcessorNode
bufferSize?: number,
numberOfInputChannels?: number,
numberOfOutputChannels?: number,
createStereoPanner(): StereoPannerNode
createWaveShaper(): WaveShaperNode
decodeAudioData(): Promise<AudioBuffer>
audioData: ArrayBuffer,
successCallback?: DecodeSuccessCallback | null,
errorCallback?: DecodeErrorCallback | null,
addEventListener<K extends keyof BaseAudioContextEventMap>(): void
type: K,
listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof BaseAudioContextEventMap>(): void
type: K,
listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any,
options?: boolean | EventListenerOptions,