torchaudio.prototype.functional.frequency_impulse_response¶
- torchaudio.prototype.functional.frequency_impulse_response(magnitudes)[source]¶
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
: - Filter design tutorialSubtractive synthesis