duplicate
tail recursion failed
trying to integrate webaudio context