This example shows how to change global phase offset of square wave shape. In this example custom made square wave was used (5 harmonics) because in Web Audio API it's not possible to change phase of build in wave shapes.
To play some sound click on some Volume button. Start from 'Volumne 1%' because it could be really loud!