Set type to 'sine', 'triangle', 'sawtooth' or 'square'.
Sintaxis
setType(type)
Parámetros
type
'sine', 'triangle', 'sawtooth' or 'square'.
Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!