createWaveShaper

open external fun createWaveShaper(): WaveShaperNode(source)

The createWaveShaper() method of the BaseAudioContext interface creates a WaveShaperNode, which represents a non-linear distortion. It is used to apply distortion effects to your audio.

MDN Reference