I have some function, I need to do N times, N is a slider value, how I
can do it? I try to do something like this:

```

import("filter.lib"); // smooth

iterations = vslider("Iterations[tooltip=Iterations count]", 1, 1, 100, 1)
    : smooth(0.999)
    : int
    ;

iter(s) = s : *(0.99);

loop = case {
    (1,s) => iter(s);
    (n,s) => loop((n - 1), iter(s));
};

ps(s) = iterations,s : loop;

```

But when I tried to build it — compiler crashed with segfault. What
I'm doing wrong?

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel

Reply via email to