pulsewidth()

pulsewidth(x, start, width)

Category

Oscillator

Description

Creates a rectangular pulse from a start position and a width. It is a convenient form of pulse(x,start,start+width).

Arguments

Example

0.3*pulsewidth(X, 0.10, 0.32)

Notes

Modulating width gives a PWM-style tone, while modulating start shifts the pulse region through the cycle.