Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.06 KB

File metadata and controls

25 lines (19 loc) · 1.06 KB

VisualizerTime

The VisualizerTime component displays a real-time waveform visualization of audio signals using time-domain data. It extends the base AnalyserAudio class and renders a scrolling waveform on a canvas element. The component supports OffscreenCanvas-based rendering via a worker and is suitable for visually representing audio amplitude over time.

Configuration

Configuration example with defaults:

const playerConfig = {
    visualizerTime: {
        channels: 1,
        fftSize: 512,
        smoothingTimeConstant: 1
    }
};

Settings

Setting Name Type Description
channels number Number of audio channels to visualize.
fftSize number Size of the FFT window used for analysis.
smoothingTimeConstant number Smoothing factor for reducing jitter in waveform transitions.