What back end code have you integrated this with? Have you tried "flocking"? http://flockingjs.org/
(I have not, I'm just wondering about somebody else's experience with this sort of thing in JS)
I'm still pretty new to this (modern computer synthesis). I had a couple electronic music (synthesis) classes back in the day, but that day was back in the late 80s. We didn't even have any digital equipment the first time I took the class - it was analog gear with literal patch cords between LFOs, envelope generators, oscillators, filters and such. The second time we actually had some digital stuff to do FM and sampling layers.