phase(p) {
    var delayAmt = p5.prototype.map(p, 0, 1.0, 0, 1 / this.f);
    var now = p5sound.audiocontext.currentTime;

    this.phaseAmount = p;

    if (!this.dNode) {
      // create a delay node
      this.dNode = p5sound.audiocontext.createDelay();
      // put the delay node in between output and panner
      this.oscillator.disconnect();
      this.oscillator.connect(this.dNode);
      this.dNode.connect(this.output);
    }

    // set delay time to match phase:
    this.dNode.delayTime.setValueAtTime(delayAmt, now);
  }
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.

 @method  phase
 @for p5.Oscillator
 @param  {Number} phase float between 0.0 and 1.0