Of course, my knowledge of Fruity Formula Controller formulas is a bit limited or just conceptually beyond my imagination.
For the chord database and the player, I'm working on a clock synchronised with the computer time and FL tempo.
The idea would be like a ramp, 8 bars long and divided into 128 steps, 16 steps per bar.
I think that with this type of clock, it is the only way to keep all objects in sync.
By using different clocks or even the oscillator of the Peak Controller, the synchronization becomes unstable in the end.
So, I have a source formula that will create the saw signal 8 bars long.
Code: Select all
Frac(Time*GetTempo/1920000)
As usual, when using the INTER function to create the steps, it is like a mud fight with decimals.
It doesn't matter if I work with more or less decimals, because the result is the same, between each step, in most cases there is a spike.
In the end, for me to get a ramp with 128 clean steps, I have to work with integers and use the ROUND function to eliminate any trace of decimal numbers.
So the process is long and tedious and inefficient, more in the style of the Flintstones, but that's the best I can think of.
I don't know if in the same formula I use to create the 8-bar long ramp, it would be possible to divide it at the same time in those 128 steps. Here's the question.