Formula Controller - Modulo

Post your ideas and suggestions here

Return to “To Do”

[You can only see part of this thread as you are not logged in to the forums]
levendis
Sat Aug 15, 2015 11:55 am

x

Formula Controller - Modulo

Would you consider adding the modulo operator to Fruity Formula Controller's syntax? Perhaps in the form of mod(Input, Variable). This would allow simpler creation of an expression like mod(SongTime, 14) to make SongTime wrap around without having to resize a Frac operator.

Reason i ask is that i tend to use a setting of 12 steps per beat (Project Settings). With 4 beats per bar (Project Setting) i have to write SongTime/12 to get 0…1 over a bar. With 5 beats per bar i have to write SongTime/15 to get 0…1 over a bar. Then i have to compensate somehow to get output back in range, after the first bar.

HaxiDenti
Mon Jan 04, 2021 7:38 pm

x

Re: Formula Controller - Modulo

levendis wrote: ↑Sat Aug 15, 2015 11:55 am Woul...

Juice-tin
Sun Dec 05, 2021 1:47 am

x

Re: Formula Controller - Modulo

Voicing my approval of this as well! Edit: Oh m...

levendis
Sun Dec 05, 2021 6:49 am

x

Re: Formula Controller - Modulo

… and a complementary function is also there ...


Return to “To Do”