Reference setType()

setType()

Choose a preset type of delay. 'pingPong' bounces the signal from the left to the right channel to produce a stereo effect. Any other parameter will revert to the default delay setting.

Syntax

setType(type)

Parameters

type
String|Number:

'pingPong' (1) or 'default' (0)

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