API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceBitCrusherEffectOptions

@codexo/exojs-audio-fx / audio / stable

3
props
0
methods
0
events
Import
import { BitCrusherEffectOptions } from '@codexo/exojs-audio-fx'
Properties3
bits?: number
Bit depth for sample quantization. Lower values produce coarser steps and more distortion. Range 1..16, default 8.
frequencyReduction?: number
Fraction of the sample rate retained (sample-and-hold). A value of 1 means every sample is re-latched (no rate reduction). A value of 0.5 halves the effective sample rate, introducing aliasing. Range 0..1, default 0.5. Maps directly to the worklet normFreq AudioParam.
wet?: number
Dry/wet mix, 0..1. Default 1.
Source