chaudio.plugins.fade¶
A gentle fade in and out
Classes
Fade (**kwargs) |
A gentle fade in and out |
-
class
chaudio.plugins.fade.
Fade
(**kwargs)[source]¶ A gentle fade in and out
-
process
(_data)[source]¶ Returns the result, but faded given a few parameters
“fadein”: True
to fade at the beginning,False
to not“fadeout”: True
to fade at the end,False
to not“sec”: the length, in seconds, of how long to fade Essentially for the first samples til
sec
are scaled linearly iffadein
, and the last samples fromt-sec
tilt
are scaled linearly iffadeout
is enabled.
-