Skip to content

dist - Distortion

Applies non-linear waveshaping to add harmonic saturation, distortion, and timbral color.

DirectionHandle
Inputaudio-in
Outputaudio-out
ParameterLabelTypeDefaultRange
curveCurvedropdownsoftsoft, hard, fuzz, clean
oversampleOversampledropdownnonenone, 2x, 4x
FieldValue
Native typeWaveShaper
Create argsnone
Implementation statusimplemented
  • none
  • blzr curve is a preset enum, while native Web Audio expects a Float32Array.
  • none

Based on WaveShaperNode (MDN)

FieldValue
API nodeWaveShaperNode
FactorycreateWaveShaper
Factory argsnone
Web Audio params
NameType
--
NameType
curveFloat32Array ?
oversampleOverSampleType
SourceIdentifierSection
Primaryw3c-webaudio-1-1WaveShaperNode
Secondarymdn-webaudioWeb Audio API
  • none