View Single Post
Old 07-23-2020, 04:08 AM   #3
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,784
Default

In this special case you could just do a function on the argument before feeding it to sin()

( cos(x) = sin(x-pi/2) )

"eval" is provided by the Reaper api to ReaScripts but not to JSFX.

-Michael

Last edited by mschnell; 07-23-2020 at 04:14 AM.
mschnell is offline   Reply With Quote