# Math Music Generator

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.

Status | In development |

Category | Tool |

Platforms | HTML5 |

Rating | Rated 5.0 out of 5 stars (1 total ratings) |

Author | Eperson |

Tags | Generator, Math, Music, Music Production |

## Comments

Log in with itch.io to leave a comment.

Just made my first song!! Absolutely creative

Deleted post3 years agoDeleted 2 years agoHoly shit man you're a genius. Pretty neat idea! Hope u keep doing this great job. GL!

Deleted post3 years agoDeleted 2 years ago