tgate
Files: tgate.h, tgate.c
A triggerable gate.
sp_tgate_create(sp_tgate **tgate)
sp_tgate_init(sp_data *sp, sp_tgate *tgate)
sp_tgate_compute(sp_data *sp, sp_tgate *tgate, SPFLOAT *trigger, SPFLOAT *gate)
sp_tgate_destroy(sp_tgate **tgate)
Optional Parameters
time: Duration of the gate (in seconds)
(Default value: 0.5)
Inputs
trigger: When non-zero, will (re)trigger gate.
Outputs
gate: Gate output.