standard mode | Duration/silence category


  • frame (vector_real) - the input frame


  • thresholds (vector_real, default = []) :

    the threshold values


This algorithm estimates if a frame is silent. Given a list of thresholds, this algorithm creates a equally-sized list of outputs and returns 1 on a given output whenever the instant power of the input frame is below the given output’s respective threshold, and returns 0 otherwise. This is done for each frame with respect to all outputs. In other words, if a given frame’s instant power is below several given thresholds, then each of the corresponding outputs will emit a 1.

Source code

See also

SilenceRate (streaming)