I have an issue here with iteration
The iteration count is selectable between 13-32-64 up to 512 , done with buttons and value modules .
These defines the length of each iteration ( and thus length of envelope )
It's then split by an order module , the first output going into a counter to create succesive iterations by each execution .
Second output of order to get the actual value ( pi/2 radians of a sine , inverted to get a decaying envelope )
All behaving correctly , except .
When I choose the nr of iterations without executing the iter , you ll notice that the counter always advancs one step .(last part of gif )
That's becasue whatever value is stuck at the upper input of the divide module , is divided by the lower input .
I tried putting an order + value module in between and this works but now the iteratin is doubled , instead of 32 I get 64 etc…( second giff )
Here's the ensemble for anyone to have a look , just push the value buttons ( make sure counter is reset to 0 ) and don't press the iteratin to see the issue
Giff 1