Why do you not just use a signoid function? All those sin and cos and tan and htan in order to approximate a function with a single exponential? In my experience, one sigmoid is slightly less efficient than one one (clamped) sin, and slightly more efficient than a real tanh, but it's definitely faster than even two sins in a row. It requires no external clamping and will never explode at any input value.
Maybe I'm missing something?
What's going on in that analog stereo function? I kind of only glanced at it.
Edit to add -
I've been doing everything with sigmoids for a while. Even rebuilding things I did with tanh just to save that tick or two. See my Logistic Sidechain Distortion in the stash.
I've also been thinking about making some "black box" type character plugs. No sliders or maybe just input and output level. Drop it on there, it does...something...and if you like it you keep it and if not, you try a different one.
Edit again - But also I think it was about 2003 when analog summing devices were really the talk of the town and I predicted that before long we'd have virtual analog summing devices.