torchaudio.prototype.functional.sinc_impulse_response¶
- torchaudio.prototype.functional.sinc_impulse_response(cutoff: Tensor, window_size: int = 513, high_pass: bool = False)[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 windowed-sinc impulse response for given cutoff frequencies.
- Parameters
- Returns
A series of impulse responses. Shape: (…, window_size).
- Return type
Tensor
- Tutorials using
sinc_impulse_response
: