nnsvs.dsp.bandpass_filter

nnsvs.dsp.bandpass_filter(x, sr, cutoff=70)[source]

Band-pass filter

Parameters:
  • x (np.ndarray) – input signal

  • fs (int) – sampling rate

  • cutoff (int) – cutoff frequency

Returns:

filtered signal

Return type:

np.ndarray