torchaudio.prototype.functional.sinc_impulse_response¶
- torchaudio.prototype.functional.sinc_impulse_response(cutoff: Tensor, window_size: int = 513, high_pass: bool = False)[source]¶
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
: - Filter design tutorialSubtractive synthesis