I'm currently working on a synth, and I'd like to find an equation that can go from a triangle wave to sine smoothly. In order to do this, I'm trying to find a function which can be put inside sine $(\sin(f(x))$ that will make the output into a straight line from $(0,0)$ to $({\pi\over2}, 1)$.
Unfortunately, my math is a bit rusty at them moment. I could have sworn there was a way to put arcsin, or arccos into sin and have it kind of cancel out the curve, but I can't remember it (or whether or not it was that simple).
Is there any such simple function $f(x)$ that can be put into sin() to result in a flat line from $(0,0)$ to $({\pi\over2}, 1)$? $f(x)$ such that $\sin(f(x)) = {2x\over \pi}$ from $0$ to $\pi\over2$

The sin function has an inverse $\sin^{-1}(x)$ defined on $-1<x<1$. $$\sin(\sin^{-1}(x)) = x.$$ I'm not sure if this is the answer you were looking for, but you can just scale the inverse sine like $\sin((2/\pi)x)$ so that at $x = \pi/2$, you are still in the range of the inverse sine.