pydiogment.augf¶
- Description: frequency based augmentation techniques/manipulations for audio data.
-
pydiogment.augf.
apply_filter
(infile, filter_type, low_cutoff_freq, high_cutoff_freq=None, order=5)[source]¶ Apply a certain type of Buttenworth filter on the input audio.
- Args:
- infile (str) : input audio filename.
- filter_type (str) : type of the filter to apply.
- low_cutoff_freq (float) : the low cut-off frequency of the filter.
- high_cutoff_freq (float) : the high cut-off frequency of the filter.
- order (int) : filter order to define its accuracy.