title: How can I set a phase offset for an OscillatorNode in the Web Audio API?
body: <p>I'm trying to implement Stereo Phase as it is described here:  <a href="http://www.image-line.com/support/FLHelp/html/plugins/3x%20OSC.htm" rel="noreferrer">http://www.image-line.com/support/FLHelp/html/plugins/3x%20OSC.htm</a></p>
  
  <p>"Stereo Phase (SP) - Allows you to set different phase offset for the left and right channels of the generator. The offset results in the oscillator starting at a different point on the oscillator's shape (for example, start at the highest value of the sine function instead at the zero point). Stereo phase offset adds to the richness and stereo panorama of the sound produced."</p>
  
  <p>I'm trying to achieve this for an OscillatorNode. My only idea is to use createPeriodicWave (<a href="https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-createPeriodicWave" rel="noreferrer">https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#dfn-createPeriodicWave</a>) However, the description of create periodic wave from the specification is above my understanding and I have not found any examples via Google.</p>
  
  <p>Any help in deciphering the description of createPeriodicWave would be helpful as would any other ideas about how to achieve this effect.</p>
  
  <p>Thanks!</p>