Module

x/evt/lib/index.ts

šŸ’§EventEmitter's typesafe replacement
Go to Latest
interface dom.AnalyserNode
implements AudioNode
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";
const { AnalyserNode } = dom;

A node able to provide real-time frequency and time-domain analysis information. It is an AudioNode that passes the audio stream unchanged from the input to the output, but allows you to take the generated data, process it, and create audio visualizations.

Properties

fftSize: number
readonly
frequencyBinCount: number
maxDecibels: number
minDecibels: number
smoothingTimeConstant: number

Methods

getByteFrequencyData(array: Uint8Array): void
getByteTimeDomainData(array: Uint8Array): void
getFloatFrequencyData(array: Float32Array): void
getFloatTimeDomainData(array: Float32Array): void