Simple Gate question

Trying to figure out why this only triggers once …

( 
SynthDef(\kick,{
	var sig = DFM1.ar(Impulse.ar(0), 56,res: 1.8, mul:0.4).tanh;
	var env = Env.perc(0.001, 0.5).ar(gate:\trig.tr(0), doneAction:0);
	Out.ar(\out.kr(0),sig*env!2);
}).add;
)
p = Synth(\kick);
p.set(\trig, 1)

Ndef(\k).play
Ndef(\k,Pbind(\instrument, \kick, \dur, 1))


The Impulse never retriggers, so the DFM1 has no source on which to operate.

hjh

I was using the Impulse to get the DFM1 to get going and self oscillate so I then run an env on it and thats the only part I try to re-triger … or so I was thinking…

I guess Im confused as p.set(\trig, 1) retrigs

adding \trig, 1 to the Ndef re-trigs it but the synths pile up. :confounded: and setting

doneAction:2 you loose the ability to re-trig it :expressionless:

Use Pmono to run one synth and .set it.

hjh