Maths

Product Description:

  • Run maths formulas on stereo channels
  • 4 automatable parameters
  • 25 buit in functions
  • 14 operators
  • 1 ternary operator
  • Free
  • Windows VST 32/64
  • Mac AU 32/64

Examples:

  • Swap left and right channels:
    • l: r
    • r: l
  • Make mono:
    • l: (l + r) / 2
    • r: (l + r) / 2
  • Invert polarity:
    • l: -l
    • r: -r
  • Generate sine wave
    • l: sin(t*10000)
    • r: sin(t*10000)
  • Automate gain:
    • l: l * p1
    • r: r * p1

Variables:

Variable Description Range
l Left audio in (-1..1)
r Right audio unit (-1..1)
p1 User parameter 1 (0..1)
p2 User parameter 2 (0..1)
p3 User parameter 3 (-1..1)
p4 User parameter 4 (-1..1)
t Free running time in seconds (0..∞)
s Free running sample position (0..∞)
c Cursor position in seconds (0..∞)

Variables:

Constants Description Value
_pi π 3.141592653589793238462643
_e e 2.718281828459045235360287

Built in Functions:

Name Explanation
sin sine function
cos cosine function
tan tangens function
asin arcus sine function
acos arcus cosine function
atan arcus tangens function
sinh hyperbolic sine function
cosh hyperbolic cosine
tanh hyperbolic tangens function
asinh hyperbolic arcus sine function
acosh hyperbolic arcus tangens function
atanh hyperbolic arcur tangens function
log2 logarithm to the base 2
log10 logarithm to the base 10
log logarithm to base e (2.71828…)
ln logarithm to base e (2.71828…)
exp e raised to the power of x
sqrt square root of a value
sign sign function -1 if x<0; 1 if x>0
rint round to nearest integer
abs absolute value
min min of all arguments
max max of all arguments
sum sum of all arguments
avg mean value of all arguments

Built in Operators:

Operator Description Priority
= assignement -1
&& logical and 1
|| logical or 2
<= less or equal 4
>= greater or equal 4
!= not equal 4
== equal 4
> greater than 4
< less than 4
+ addition 5
- subtraction 5
* multiplication 6
/ division 6
^ raise x to the power of y 7

Ternary Operator:

Operator Description Remarks
?: if then else operator C++ style syntax

Version History:

  • 1.0.2: May 29/18 – Added limited. Fixed nan/inf processing
  • 1.0.1: May 14/18 – Fixed processing error when changing formulas
  • 1.0.0: May 13/18 – Initial release

Download:

  • Windows:
    Icon

    Maths Win 2.43 MB 588 downloads

    ...
  • Mac:
    Icon

    Maths Mac 3.72 MB 240 downloads

    ...