chaudio.plugins.topcropper module

Returns just the top (the opposite of a clipper)

class chaudio.plugins.topcropper.TopCropper(**kwargs)[source]

Bases: chaudio.plugins.Basic

Returns what would be clipped off

process(_data)[source]

Returns the top part of the wave

“cutoff”:where to slice the return
“relative”:if true, then take ‘cutoff’ as a ratio (from 0.0 to 1.0) of the percentage of the graph, otherwise the actual value
__module__ = 'chaudio.plugins.topcropper'