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)

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