快捷方式

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, 可選) – 要應用的 Hamming 視窗大小。必須為奇數。

  • (預設值

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

返回值:

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

返回型別:

Tensor

使用 sinc_impulse_response 的教程
Filter design tutorial

濾波器設計教程

濾波器設計教程
Subtractive synthesis

減法合成

減法合成

文件

訪問 PyTorch 的完整開發者文件

檢視文件

教程

獲取針對初學者和高階開發者的深度教程

檢視教程

資源

查詢開發資源並獲得問題解答

檢視資源