pyFDN.fade_out#
- pyFDN.fade_out(x, fade_samples)[source]#
Apply a linear fade-out over the last
fade_samplessamples.Ramps the tail of
xlinearly from 1 to 0 along the last axis, so a finite render can end at zero instead of clicking on an abrupt cutoff.- Parameters:
- Return type:
- Returns:
Faded copy of
x(float), same shape as the input.xis not modified in place.