Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/node_modules/evt/lib/types/lib.dom.d.ts>OscillatorNode

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
interface OscillatorNode
import { type OscillatorNode } from "https://deno.land/x/windmill@v1.333.5/node_modules/evt/lib/types/lib.dom.d.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.

Properties

readonly
detune: AudioParam
readonly
frequency: AudioParam

Methods

setPeriodicWave(periodicWave: PeriodicWave): void
addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(
type: K,
listener: (this: OscillatorNode, ev: AudioScheduledSourceNodeEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(
type: K,
listener: (this: OscillatorNode, ev: AudioScheduledSourceNodeEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void