Dup Goto 📝

JSFX Function Syntax

DAW/reaper/jsfx reaper jsfx syntax 11-13 12:06:42
To Pop
18 lines, 35 words, 262 chars Thursday 2025-11-13 12:06:42
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;
);