Hi all,

I am trying to compile Dario Sanfilippo’s excellent sounding modified chaotic 
differential equation synths for supercollider. I am only getting DC offset in 
SC. I have made a super stripped down version with hard coded values. This 
works fine in the faust online editor (I get oscillations), but in SC I just 
get DC offset. Any ideas? Obviously the goal is to use the commented out 
process line.

Thanks,

Sam

import("stdfaust.lib");

LotkaVolterra_A(L, mul, a, b, c, g, dt, x_0, y_0) = (mul * (x / l1)) , (mul * 
(y / l1))
  with {
    l1 = max(1, L);
  }
  letrec {
    'x = fi.highpass(1, 10, tanh(L, (x_0 + x + dt * (a * x - b * x * y))));
    'y = fi.highpass(1, 10, tanh(L, (y_0 + y + dt * (g * x * y - c * y))));
  };

tanh(l, x) = l2 * ma.tanh(x / l2)
    with {
        l2 = max(1, l);
    };
process = LotkaVolterra_A(4, 0.1, 4, 1, 2, 1, 0.1, 1, 1);
//process(limit, mul, a, b, c, g, dt, x1, x2) = LotkaVolterra_A(limit, mul, a, 
b, c, g, dt, x1, x2);



_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to