Var declaration:

v [variable-name] = [variable-value]

Call vars:

${var-name}

Syntax:

xEquation; yEquation; minValueForX; maxValueForX; minValueForY; maxValueForY; note; noteAmp; noteDur

  • t = [Graphically configurable] / t += 1 per loop
  • xEq = X equation value
  • yEq = Y equation value
  • s(x) = sin(x)
  • c(x) = cos(x)
  • e(k, p) = k^p
  • l(k, p) = ln(|k|, |p|)
  • t(x) = tan(x)
  • p(x) = sign(x)
  • a(x) = arctan(x)
  • m(x) = |x|
  • f(x) = floor(x)
  • q(x) = ceil(x)
  • r(x) = round(x)
  • y(x) = arccos(((x / 1000) % 2) - 1 * p(x))
  • u(x) = arcsin(((x / 1000) % 2) - 1 * p(x))
  • d(x) = derivative(x)


Additional commands:

sleep [value]

Sleep command make the code wait some milliseconds before executing the next step.

Used APIs:

Tonejs, Tonejs-instruments and NProgress.


Comments

Log in with itch.io to leave a comment.

(+1)

Just made my first song!! Absolutely creative

Deleted 7 days ago
(+1)

Holy shit man you're a genius. Pretty neat idea! Hope u keep doing this great job. GL! 

Deleted 7 days ago