FL Studio Mapping Formulas v1.30.1

Discuss other useful utilities, general computing tips & tricks, Internet resources, etc.
peter_ahk
Posts: 100
Joined: 13 Feb 2024, 14:49

FL Studio Mapping Formulas v1.30.1

02 Mar 2024, 05:09

created in autohotkey, i lost the sourse code after a crash but stlil have the completed thing as an exe
this is a text replacement tool that is for the most part aimed at fl studio's link to controller window
where you can alter 0 to 1 behavior it has about 3.7 million formulas in it.
standard 0 to 1.png
standard 0 to 1.png (65.25 KiB) Viewed 268 times
how does it work? at the core there is many types of formulas available in ranges of whole %

this is a simple example if i type 025080 and hit enter it gets replaced with

Code: Select all

25%+Input*(80%-25%)


this 6 digit system is at the core of it all where you just add a type in front of it to get different things

if i type s025080 and hit enter i get a switch in that range

Code: Select all

25%+Round(Input)*(80%-25%)
or perhaps i want some special shape in that range like a spade shape code i could type spa025080 and get

Code: Select all

25%+(sqrt(1-(Max(Input,0.5)- Min(Input,0.5))*2))*(80%-25%)
included are codes for mixing, for contraption design and whatever you build using formulas. in principle it is possible to link multiple controls to one automation clip having them all respond in different ways to that clips 0 to 1 traveling

an example for a case formula for fl studio's peak controller this code locks the values to musical divisions and ignores all the in betweens so whatever you put the knob on it will be in sync with your project. all i have to do to get a sequential case formula is type pcal and i get

Code: Select all

Case((IfL(Input,0.03333333333333333333333333333333)),0.095855712890625,(Case((IfLE(Input,0.06666666666666666666666666666666)),0.116744995117188,((Case((IfLE(Input,0.09999999999999999999999999999999)),0.19500732421875,(Case((ifLE(Input,0.13333333333333333333333333333332)),0.154159545898438,(Case((ifLE(Input,0.16666666666666666666666666666665)),0.182540893554687,(Case((IfLE(Input,0.19999999999999999999999999999998)),0.276504516601562,(Case((IfLE(Input,0.23333333333333333333333333333331)),0.227859497070313,(Case((IfLE(Input,0.26666666666666666666666666666664)),0.261627197265625,(Case((IfLE(Input,0.29999999999999999999999999999997)),0.366256713867188,(Case((IfLE(Input,0.3333333333333333333333333333333)),0.312896728515625,(Case((IfLE(Input,0.36666666666666666666666666666663)),0.358734130859375,((Case((IfLE(Input,0.39999999999999999999999999999996)),0.461044311523438,(Case((IfLE(Input,0.43333333333333333333333333333329)),0.405044555664063,((Case((IfLE(Input,0.46666666666666666666666666666662)),0.44451904296875,(Case((IfLE(Input,0.49999999999999999999999999999995)),0.558670043945313,((Case((IfLE(Input,0.53333333333333333333333333333328)),0.501251220703125,(Case((IfLE(Input,0.56666666666666666666666666666661)),0.5418701171875,((Case((IfLE(Input,0.59999999999999999999999999999994)),0.657730102539063,(Case((IfLE(Input,0.63333333333333333333333333333327)),0.599609375,((Case((IfLE(Input,0.6666666666666666666666666666666)),0.640777587890625,((Case((IfLE(Input,0.69999999999999999999999999999993)),0.757598876953125,((Case((IfLE(Input,0.73333333333333333333333333333326)),0.699111938476563,((Case((IfLE(Input,0.76666666666666666666666666666659)),0.740570068359375,((Case((IfLE(Input,0.79999999999999999999999999999992)),0.85784912109375,((Case((IfLE(Input,0.83333333333333333333333333333325)),0.799163818359375,((Case((IfLE(Input,0.86666666666666666666666666666658)),0.841033935546875,((Case((IfLE(Input,0.89999999999999999999999999999991)),0.958282470703125,((Case((IfLE(Input,0.93333333333333333333333333333324)),0.899505615234375,((Case((IfLE(Input,0.96666666666666666666666666666657)),0.93426513671875,(Case((IfLE(Input,1)),1,1))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
3.png
3.png (40.45 KiB) Viewed 268 times
if i want a division of a knob i can just type the number of divisions and if it is a knob going two ways or just one and get a code like this example of a knob divided by 72 going two ways: /722 (indicating the type stated) and then any range like this: /722-2+5 and i get a range going from -2 to +5 like this:

Code: Select all

1/72*34+Input*+1/72*7
if i want a stepped ladder in a range with a set of 8 ladder steps i can simply type /08 and then the range for example /08025080 would give me

Code: Select all

25%+(Int(Input*7.99)/7*(80%-25%))
there is many formulas in here created to make sounddesign and mixing more easy and fun to do these are hardcoded formulas no dynamic generation or something like that.

included is every formula for peak controller you could ever possibly need, codes for precise ducking (much more precice ducking than any of the big names vsts that do something simular because you can tailor every node with formulas to do something different, peak controller is a beast if you know it and with these codes very easy to setup) you can also change the - before input into a + and then it all becomes expansion codes

there is some freaky long math formulas in this tool that can just be accessed with a very short code, an overview of all included (codes are documented aswell in the help to get you started) below a legend you could use as a background in fl as an reminder

i spend over a year of my life on this and you can get it for free over here
https://odysee.com/@FLStudioBits:e/FLMF130repack24:0

the legend has a quick reminder for everything included but i gues looks somewhat overwhelming just relax and start of with simple 6 digit things to get started or even better read knob divisions help contraption design help and switches help and by then i gues you should have a good idea what you are dealing wth here.
FL-Mapping-Formulas-v1.30.1 Legend B.jpg
FL-Mapping-Formulas-v1.30.1 Legend B.jpg (489.3 KiB) Viewed 268 times
enjoy

Return to “Other Utilities & Resources”

Who is online

Users browsing this forum: No registered users and 89 guests