快速鍵

torchaudio.prototype.functional.sinc_impulse_response

torchaudio.prototype.functional.sinc_impulse_response(cutoff: Tensor, window_size: int = 513, high_pass: bool = False)[原始碼]

為給定的截止頻率建立視窗化 sinc 脈衝響應。

This feature supports the following devices: CPU, CUDA This API supports the following properties: Autograd, TorchScript
參數:
  • cutoff (Tensor) – 低通 sinc 濾波器的截止頻率。

  • window_size (int, optional) – 要套用的漢明視窗大小。必須為奇數。

  • (預設

  • high_pass (bool, optional) – 如果 True,則將結果濾波器轉換為高通。否則傳回低通濾波器。預設值:False

傳回:

一系列脈衝響應。形狀:(…, window_size)

傳回類型:

Tensor

使用 sinc_impulse_response 的教學課程
Filter design tutorial

濾波器設計教學

濾波器設計教學
Subtractive synthesis

減法合成

減法合成

文件

存取 PyTorch 的完整開發者文件

檢視文件

教學

取得針對初學者和進階開發者的深入教學課程

檢視教學

資源

尋找開發資源並獲得問題解答

檢視資源