torchaudio.prototype.functional.frequency_impulse_response¶
- torchaudio.prototype.functional.frequency_impulse_response(magnitudes)[source]¶
DEPRECATED
Warning
This function has been deprecated. It will be removed from 2.9 release. This deprecation is part of a large refactoring effort to transition TorchAudio into a maintenance phase. Please see https://github.com/pytorch/audio/issues/3902 for more information.
Create filter from desired frequency response
- Parameters
magnitudes – The desired frequency responses. Shape: (…, num_fft_bins)
- Returns
Impulse response. Shape (…, 2 * (num_fft_bins - 1))
- Return type
Tensor
- Tutorials using
frequency_impulse_response
: