audiblelight.augmentation.SceneAugmentation

audiblelight.augmentation.SceneAugmentation#

class audiblelight.augmentation.SceneAugmentation(sample_rate=44100)#

Bases: Augmentation

Base 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

AUGMENTATION_TYPE

name

Returns the name of this augmentation

AUGMENTATION_TYPE = 'scene'#