Hi everyone!
Constantly using the moving average block, I have noticed that for long simulation times there is a problem that I can not solve.
After a while, the value of the media “resets” to negative or zero values and this creates problems in divisions or in the square roots block.
I tried to increase the initial buffer but the situation does not change. Something to change in the C-script of the mask? What can it be?
Some photos to explain the problem.
Thank you!