Equation Composer

Documentation and Examples

Equation Playback



The Equation Playback program generates audio based on equations. The Equation Playback program contains over 40 equations. The MOD input selects which equation to play.

An example equation is:
((t/339+p1)+t/(t/4334+p2&t))+t%p3+455

In this equation, “t” is an incrementing counter (which is, in essence, the playback position) and p1, p2, and p3 are parameters to shape the sound. The playback speed (which determines how quickly “t” increments) is controlled via the SR input. Inputs [1], [2], and [3] are mapped to p1, p2, and p3. A positive pulse on the GATE input resets “t” to 0.

Input Summary:

  • SR: Controls playback speed
  • MOD: Selects equation to playback.
  • [1], [2], [3]: Modifies the equation parameters p1, p2, and p3
  • GATE: Resets the playback position

Code:

SynthEquationPlayer.php, SynthEquationPlayer.h