Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.PeriodicWave

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.PeriodicWave
import { type dom } from "https://deno.land/x/evt@v2.5.6/lib/types/index.ts";
const { PeriodicWave } = dom;

PeriodicWave has no inputs or outputs; it is used to define custom oscillators when calling OscillatorNode.setPeriodicWave(). The PeriodicWave itself is created/returned by AudioContext.createPeriodicWave().