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'.

This page is generated from the comments in lib/addons/p5.sound.js . Please feel free to edit it and submit a pull request!

Related References