I've wanted to know the solution to this for years since I couldn't figure out how to get the answer, not even from wolfram alpha and this has also made me question whether if it was even possible to make t the subject of this equation. In other words, I've been trying to change it from:
$$p = s(\left \lfloor t\right \rfloor+\frac{\sin(\frac{\pi\left \lfloor t\right \rfloor}{t})}{\sin(\frac{\pi}{t})})$$
To:
$t =\text{equation in terms of }p\text{ and }s$