Variable duty cycle square waves with the Web Audio API