title: JSFX Function Syntax tags: reaper jsfx syntax ``` function getSampleRate() ( srate; // return srate ); function mySine(x) ( // taylor approximation x - (x^3)/(3*2) + (x^5)/(5*4*3*2) - (x^7)/(7*6*5*4*3*2) + (x^9)/(9*8*7*6*5*4*3*2); ); function calculateSomething(x y) ( x += mySine(y); x/y; ); ```