Dup Ver Goto 📝

JSFX Function Syntax

DAW/reaper/jsfx reaper jsfx syntax does not exist
To
18 lines, 35 words, 262 chars Page 'Functions' does not exist.
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;
);