Hi, I have noticed that when I have an impulse generator that plays some kind of synth I get skips in the outputput when I change the speed of the impulse. This is examplified with the example below. Run the example (compiled with faust2jack) and move the tempo slider up and down you notice that beats are skipped at some occasions (mote often at slow speeds it seems).
This is consistent in both linux and MacOS. Thinking that is was an issue with GTK I compiled and ran it in SuperCollider and I notice the same skipping. I have tried using ba.pulse as well and also tried to add smoothing to the impulse. I am probably missing something obvious here, but any help is appreciated. /Henrik import("stdfaust.lib"); // Impulse for snare hits imp = ba.beat(hslider("tempo", 100, 1, 2000, 1)); // GUI snaregroup(x) = vgroup("snare", x); // Main envelope env = en.ar(attack, rel, imp) * amp with { attack = snaregroup(hslider("attack", 0.00000001, 0, 0.1, 0.000000001) : si.smooth(0.1)); rel = snaregroup(hslider("rel", 0.1, 0.0000001, 0.5, 0.0000001) : si.smooth(0.2)); amp = snaregroup(hslider("vol", 0.5, 0, 1, 0.0001)); }; // Noise generation and filter snare(n) = no.multinoise(8) : par(i, 8, _ * env * 0.1); filt = fi.resonbp(frq, q, gain) with { frq = snaregroup(hslider("freq", 200, 50, 5000, 0.1)); q = snaregroup(hslider("q", 1, 0.01, 10, 0.01)); gain = snaregroup(hslider("gain", 0, 0, 2, 0.00001)); }; process = snare;
_______________________________________________ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users