spike~ reports intervals of zero to non-zero transitions.
refractory-period [int or float]
Sets the refractory period.
Common Box Attributes
In left inlet: A signal to be analyzed. The spike~ object analyzes an incoming signal and reports the interval, in milliseconds, between transitions between zero and non-zero signal values. You can specify a refractory period, which defines how soon after detecting a transition the spike~ object will report the next instance.
The interval, in milliseconds, since the last zero to non-zero signal transition has occurred (which includes the refractory period, if one is set).