Reference phase()

phase()

Set the phase of an oscillator between 0.0 and 1.0. In this implementation, phase is a delay time based on the oscillator's current frequency.

Syntax

phase(phase)

Parameters

phase

float between 0.0 and 1.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