afx module provides audio effects that can be applied to AudioClip instances to modify their audio characteristics.
Available Effects
All audio effects inherit from theAudioEffect base class and implement the apply() method to modify audio clips.
FadeIn
Gradually increase volume from 0 to original level
FadeOut
Gradually decrease volume to 0 at the end
Base Class
AudioEffect
Abstract base class for all audio effects.Methods
Apply this effect to an audio clip by modifying its properties.Returns:
The AudioClip to apply the effect to
None (modifies the clip in place)Usage
Audio effects are applied toAudioClip instances using their apply() method:
Effects work by adding transforms to the audio clip’s processing pipeline. Multiple effects can be applied to the same clip.