audiblelight.augmentation.SceneAugmentation#
- class audiblelight.augmentation.SceneAugmentation(sample_rate=44100)#
Bases:
AugmentationBase class for all Augmentation objects that can be used with Scenes
- Parameters:
sample_rate (int | float | complex | integer | floating | None)
- __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
nameReturns the name of this augmentation
- AUGMENTATION_TYPE = 'scene'#