audiblelight.augmentation.Reverse#
- class audiblelight.augmentation.Reverse(sample_rate=44100)#
Bases:
EventAugmentationReverses an input audio array (i.e., flips it “horizontally”).
- Parameters:
sample_rate (custom_types.Numeric) – not used by this augmentation, but required for compatibility with parent
- __init__(sample_rate=44100)#
- Parameters:
sample_rate (int | float | complex | integer | floating | None)
Methods
__init__([sample_rate])from_dict(input_dict)Initialise an augmentation from a dictionary.
process(input_array)Calls the underlying FX (or a list of FX)
sample_value(override, default_dist)Samples a value according to the following method:
to_dict()Returns the parameters used by this augmentation
Attributes
AUGMENTATION_TYPEnameReturns the name of this augmentation