@zebra trying out a modifed zsin engine you posted, and i think i’ve removed those errors i was experincing. great!
what would you suggest to implement a basic looping AD envelope?
Using amp_ = LagUD.ar(K2A.ar(amp), amp_atk, amp_rel); from your engine doesn’t see to work, but maybe I don’t understand what it is really doing. changing amp_atk and amp_rel from the lua doesn’t affect the volume of the envelope…
edit:
amp_ = EnvGen.ar(Env.circle([0, 1, 0], [amp_atk, amp_rel, 0.001]), levelBias: 0.0); seems ok.