I would like, upon a control-message trigger, to generate a single-sample impulse.
This is generally useful, but the specific thing I'm trying to do right now is to use [rpole~ 1] as an integrator. I believe I can reset the integrator to 0 by momentarily setting the coefficient to 0 -- and, if I can get a single-sample impulse, then the coefficient is just 1 - trigger_impulse.
This functions just about well enough for the purpose of resetting an integrator -- but I'm still curious how to get an impulse.
Thanks!
hjh