Reference width()

width()

Set the width of a Pulse object (an oscillator that implements Pulse Width Modulation).

Syntax

width([width])

Parameters

width
Number:

Width between the pulses (0 to 1.0, defaults to 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