Described in this paper: https://vicanek.de/articles/QuadOsc.pdf.

If I'm not wrong, it's not in the oscillators library yet so it could be a
good addition.

Cheers,
Dario

import("stdfaust.lib");
quad_osc(f) = tick ~ (_ , _)
with {
  init = 1-1';
w = 2*ma.PI*f/ma.SR;
    k1 = tan(.5*w);
    k2 = 2*k1/(1+k1*k1);
tick(u, v) = omega-k1*(v+k2*omega) , v+k2*omega
with {
  omega = (u+init)-k1*v;
};
};
process = quad_osc(1000);
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to