input signal to be measured.
minimum amplitude threshold which must be exceeded for the input signal to be considered non-silent. (init-time only)
The duration in seconds for which the input signal must be continuously smaller than or equal to the threshold to be considered silent. (init-time only)
an action to be performed when the output changes from zero to one (silence detected).
minimum amplitude threshold which must be exceeded for the input signal to be considered non-silent.
minimum amplitude threshold which must be exceeded for the input signal to be considered non-silent. (init-time only)
an action to be performed when the output changes from zero to one (silence detected).
The duration in seconds for which the input signal must be continuously smaller than or equal to the threshold to be considered silent.
The duration in seconds for which the input signal must be continuously smaller than or equal to the threshold to be considered silent. (init-time only)
input signal to be measured.
Abstract method which must be implemented by creating the actual UGen
s
during expansion.
Abstract method which must be implemented by creating the actual UGen
s
during expansion. This method is at most called once during graph
expansion
the expanded object (depending on the type parameter U
)
A UGen which detects whether its input signal falls below a given amplitude for a given amount of time (becoming "silent"). A silence is detected if the absolute sample values of the input remain less than or equal to the
amp
threshold for a consecutive amount of time given by thedur
argument.A value of
1
is output when this condition is met, and a value of0
is output when the condition is not met (i.e. at least one sample occurs in the input whose absolute value is greater thanamp
). Besides, when the output changes from zero to one, thedoneAction
is executed (unless it isdoNothing
).A special case is the initial condition of the UGen: It will begin with an output value of
0
(no silence detected), even if the input signal is below the amplitude threshold. It is only after the first input sample rising above the threshold that the actual monitoring begins and a trigger of1
or the firing of the done-action may occur.input signal to be measured.
minimum amplitude threshold which must be exceeded for the input signal to be considered non-silent. (init-time only)
The duration in seconds for which the input signal must be continuously smaller than or equal to the threshold to be considered silent. (init-time only)
an action to be performed when the output changes from zero to one (silence detected).
Amplitude