Reference set()

set()

Set the amount and oversample of the waveshaper distortion.

Syntax

set([amount], [oversample])

Parameters

amount
Number:

Unbounded distortion amount. Normal values range from 0-1.

oversample
String:

'none', '2x', or '4x'.

Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!

Related References