AudioAugmentationSettings

Options & Configuration · AiDotNet.Augmentation

Audio-specific augmentation settings with industry-standard defaults.

For Beginners

These settings control how audio data is augmented. Defaults are based on best practices from audiomentations and torchaudio.

Constructors

Constructor Summary
AudioAugmentationSettings()

Properties

Property Summary
bool EnableNoise { get; set; } Gets or sets whether background noise is enabled.
bool EnablePitchShift { get; set; } Gets or sets whether pitch shifting is enabled.
bool EnableTimeShift { get; set; } Gets or sets whether time shift is enabled.
bool EnableTimeStretch { get; set; } Gets or sets whether time stretching is enabled.
bool EnableVolumeChange { get; set; } Gets or sets whether volume change is enabled.
double MaxTimeShift { get; set; } Gets or sets the maximum time shift as a fraction of audio length.
double MaxTimeStretch { get; set; } Gets or sets the maximum time stretch factor.
double MinTimeStretch { get; set; } Gets or sets the minimum time stretch factor.
double NoiseSNR { get; set; } Gets or sets the signal-to-noise ratio in decibels.
double PitchShiftRange { get; set; } Gets or sets the pitch shift range in semitones.
double VolumeChangeRange { get; set; } Gets or sets the volume change range in decibels.

Methods

Method Summary
IDictionary<string, object> GetConfiguration() Gets the configuration as a dictionary.