Auto Composer using Web Audio API