Opts: {
    debug?: boolean;
    fftSize?: number;
    showVis?: boolean;
    smoothingTimeConstant?: number;
}

Options for audio processing

fftSize: Must be a power of 2, from 32 - 32768. Higher number means more precision and higher CPU overhead

Type declaration

smoothingTimeConstant: Range from 0-1, default is 0.8.

debug: If true, additonal console logging will happen