Variable duty cycle square waves with the Web Audio API (danblack.co)
Lately, I've been playing around with the Web Audio API for a side project I'm working on. I am building a web-based music tracker software for creating audio in the original style of the Gameboy. To faithfully recreate the sounds of the Gameboy, I need variable duty cycle square waves.