Okay. my sense for math sucks, so I hope there are somebody out-here, there able to turn this logic into a math expression, so I don't get stack overflow.
Cheers
Mikkel
logic to math
Okay. my sense for math sucks, so I hope there are somebody out-here, there able to turn this logic into a math expression, so I don't get stack overflow.
Cheers
Mikkel
@MikkelM
You have connected the output of [expr] back to the number box that feeds its input.
You just need to remove that link.
You made a sort of feedback loop.
David.
Hi David.
Thank you for the answer. I have set it in loop, so if I get a frequency of 2640Hz it runs thru the loop and devides 2 times, the third time it returns $f1. Well it feedsback and throw up, it works but needs a proper solution.
My problem is how I define this octave division in math? So whatever frequency ends up somewhere between 440 to 880, like 2640 or 5280 will both end up at 660hz.
Cheers
Mikkel
@MikkelM This will do it.......
Your math is fine, but it needs a mechanism to stop it running away (the false case repeating endlessly).
Second if statement..... If equals or less than 880 then close the spigot (stop), if not then send it around again.
Or you can just use [moses] to replace the second if and the [spigot]
Or you can just use [moses] to do the whole thing..........
David.
Why haven't I known about Moses before......
Thank you David, you have released me from some serious head-scratches.
/Mikkel
Oops! Looks like something went wrong!