beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Waveshaper
Ops.WebAudio.Waveshaper
Namespace: Ops.WebAudio
add waveshaping (distortion, overdrive, fuzz) to an audio stream

summary (oneliner)

The default transfer function for the waveshaper is taken from https://stackoverflow.com/a/22313408

doc

issues

youtube id

collections

related ops

Inputs

audio in (Object)

audio input


Dry/Wet (Number)

dry wet control - 0 only dry, 1 only wet (distorted) signal


Oversampling index (integer /Number)

Waveshape Settings

Distortion Amount (integer /Number)

the amount of distortion (equals to the amount of sample points of the waveshaper's transfer function - more points = more distortion), inactive when waveshape array in is used


Waveshape Array In (Array)

array input for the waveshaper (custom distortion transfer function)


Output Gain (Number)

Outputs

audio out (Object)

audio output


Curve Out (Array)

distortion curve array output (one-dimensional)


Curve Length (Number)

length of the curve array


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
Example Waveshaper OP:

Waveshaper can be used to distort your audio slightly or fry it to a crisp. Watch the audio levels though...



Credits


Changelog


created op
2021-04-19 - simod

Ops.User.simod.TestDistortion renamed to Ops.WebAudio.Waveshaper
2021-04-19 - simod

Examples using Waveshaper

Public Patches using Waveshaper