Fruity Formula Controller

Fruity Formula Controller generates automation control data based on user-defined formulae. The Formula Controller will appear as an Formula ctrl - Out option in the Link dialog. It is just one of the many internal automation controllers available in FL Studio.

How to use:

  1. Load Fruity Formula Controller in a Mixer FX Slot. NOTE: Renaming the Formula Controller will help you find the correct automation source when more than one is used in a project.
  2. Enter a formula or select one from the plugin presets and make sure it compiles correctly.
  3. Link the target Synth, Effect or FL Studio interface control to the 'Formula ctrl - Out' option (or custom name used at step 1) from the Link Dialog > 'Link assignment' menu.
  4. Link other internal or external hardware controllers to variables A, B and C OR record A, B, C tweaks in real-time as the project is playing.


Syntax, Objects & Functions

The following syntax, functions and objects are supported by the Formula Controller:

Abbreviation Description Example
+ addition a+b
* multiplication a*b
- subtraction  a-b
/ division  a/b
^ power a^b
Sin sine Sin(a)
Cos cosine Cos(a)
Tg tangent Tg(a)
Ctg cotangent Ctg(a)
Sec secant Sec(a)
CoSec cosecant CoSec(a)
ArcSin antisine ArcSin(a)
ArcCos anticosine ArcCos(a)
ArcTg antitangent ArcTg(a)
Exp exponent Exp(a)
Sqrt square root Sqrt(a)
Ln logarithm base e Ln(a)
Log10 logarithm base 10 Log10(a)
Log2 logarithm base 2 Log2(a)
Neg negative Neg(a)
Abs absolute Abs(a)
Pi pi Pi()
Sum sum of arguments Sum(a,b)
Min minimum Min(a,b)
Max maximum Max(a,b)
Round round to nearest integer Round(a)
Int integral part Int(a)
Frac fractional part Frac(a)
IfE returns 1 if a=b IfE(a,b)
IfL returns 1 if a<b IfL(a,b)
IfG returns 1 if a>b IfG(a,b)
IfLE returns 1 if a<=b IfLE(a,b)
IfGE returns 1 if a>=b IfGE(a,b)
Case returns b if a=1, else returns c Case(a,b,c)
Rand random value (0..1) Rand()
SeededRand controlled random value (0..1) SeededRand(Seed)
Special (FL Studio-related)
a value of knob A a
b value of knob B b
c value of knob C c
SongTime song position, in quarters SongTime()
Time system time, in ms Time()
Tension same as tension knobs Tension(Value,Speed)
Date system date Date()
MouseX mouse cursor X position MouseX()
MouseY mouse cursor Y position MouseY()

Plugin Credits: Didier Dambrin, Andrew Tumashinov (RapidEvaluator)