dcase_util.containers.AudioContainer.resample
- AudioContainer.resample(target_fs, scale=True, res_type='kaiser_best')[source]
Resample audio data.
- Parameters
- target_fsint
Target sampling rate
- scalebool
Scale the resampled signal to have approximately equal total energy (see
librosa.core.resample
). Default value True- res_typestr
Resample type (see
librosa.core.resample
) Default value ‘kaiser_best’
- Returns
- self