Hi everyone,

I have a little trouble with the following code:


coeffa(i) = hslider("coeff a", 0, -1, 1, 0.01);
...
memInt = _ <: par(i, order, coeffa(i)*@(i)) :> _;

Which should, I believe, generate i delays in parallel, each multiplied by
a coefficient determined by a slider.

However, after compiling, I only get 1 slider. As you can see from the
joined diagram, the delays are correctly generated, but all the sliders are
declared to be coeffa(0).

My guess is that since each slider is exactly identical, the compiler
considers them to be all the same. If that is the case, I think that
changing the string in each slider would solve the problem (and also help
the GUI make more sense). The practical thing would be to do something like

coeffa(i) = hslider("coeff a" + i, 0, -1, 1, 0.01);

But, of course, string + int makes no sense. Is there a way to convert an
int to a string, and can two strings be concatenated ? If so, how ?

Thank you !

Fabien
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to