Produces clicks when I try to change the amplitude every iteration, or when I try to change frequency every iteration of the drawing cycle. There's a small pause in the drawing cycle but it's not enough. Sometimes the sound disappears altogether. Below are the graphs that I am trying to make the sound of. So allowing for some kind of modulation every iteration would be nice.
