It depends a bit why you want to do this, and maybe also how complex the equations will be, but I would probably do this in puredata. The added advantage is you can tweak it live. If you're into experimental audio, learning puredata is definitely a plus.
This should give you a rough idea whether it's a good tool for your purpose. http://www.pd-tutorial.com/english/ch03s05.html