interface dom.BaseAudioContext
implements EventTarget
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/index.ts";
const { BaseAudioContext } = dom;
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,