audaugio.chain package¶
Module contents¶
-
class
audaugio.chain.ChainBase(*augmentations)[source]¶ Bases:
objectBase class for an augmentation chain. Implement this to define your own augmentation chains.
Parameters: augmentations –
-
class
audaugio.chain.CombinatoricChain(*augmentations)[source]¶ Bases:
audaugio.chain.chain_base.ChainBaseApply augmentations combinatorically. This will return all possible combinations of non-replacing augmentations (i.e. when a non-replacing augmentation is performed, both the resulting augmented signal and the original signal are kept and augmented further). Note that some augmentations, like the windowing augmentation, always replace the audio they augment.
Parameters: augmentations – an arbitrary amount of augmentations
-
class
audaugio.chain.LinearChain(*augmentations)[source]¶ Bases:
audaugio.chain.chain_base.ChainBaseApply augmentations linearly. The signal is modified by each augmentation in the order that they are passed into the constructor.
Parameters: augmentations – an arbitrary amount of augmentations
-
class
audaugio.chain.FlatChain(*augmentations)[source]¶ Bases:
audaugio.chain.chain_base.ChainBaseApply augmentations without layering any on top of others. The signal is modified by each augmentation and saved. Useful for qualitatively analyzing augmentations.
Parameters: augmentations – an arbitrary amount of augmentations