interface OscillatorNode
implements AudioScheduledSourceNode
import { type OscillatorNode } from "https://deno.land/x/windmill@v1.361.1/node_modules/evt/src/lib/types/lib.dom.ts";
The OscillatorNode interface represents a periodic waveform, such as a sine wave. It is an AudioScheduledSourceNode audio-processing module that causes a specified frequency of a given wave to be created—in effect, a constant tone.
Methods
setPeriodicWave(periodicWave: PeriodicWave): void
addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(): void
type: K,
listener: (this: OscillatorNode, ev: AudioScheduledSourceNodeEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(): void
type: K,
listener: (this: OscillatorNode, ev: AudioScheduledSourceNodeEventMap[K]) => any,
options?: boolean | EventListenerOptions,