MIXING & EFFECTS

**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:**

- 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. - Enter a formula or select one from the plugin presets and make sure it compiles correctly.
- 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. - Link other internal or external hardware controllers to the A, B and or C variables and or record A, B, C tweaking in real-time of the formula is running on time-based parameters.

**A/B/C**- These knobs can be used as variables in your formulas. Enter them into your formula as**a**,**b**and**c**variables (see the list operators and functions below).**Formula**- This is where you enter your formula. Press**ENTER**or**Compile**to compile to formula. If the formula is a valid mathematical expression, you will see a message 'Compiled ok' below the formula. If it's not, you will see a helpful error message.**NOTE:**The output of the formula must range between 0 to 1 in order to qualify as valid control data.**?**- Opens the Syntax, Objects and Functions table (see below).**Compile**- Compiles the formula. Alternatively press**ENTER**when using the formula edit box.**Comments**- Type comments here. If text exceeds the height of the window a scroll-bar will appear on the right side. Supports RTF text from WordPad. The formula Monitor graph also displays behind the text for your convenience.**Monitor**- Shows the output from the formula in real-time.**NOTE:**Many formula will not display as a moving trace until you click Play on FL Studio's transport panel.

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

Operators | ||
---|---|---|

Abbreviation |
Description |
Example |

+ | addition | a+b |

* | multiplication | a*b |

- | subtraction | a-b |

/ | division | a/b |

^ | power | a^b |

Functions | ||

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) |

Gadgets | ||

Date | system date | Date() |

MouseX | mouse cursor X position | MouseX() |

MouseY | mouse cursor Y position | MouseY() |

**Plugin Credits: **Didier Dambrin, Andrew Tumashinov
(RapidEvaluator)