bpf

Parent Previous Next

bpf

y = bpf ( x,fcut1,fcut2,order[=8],type[=1],dBpass[=.5],dBstop[=-40] )
y = x.bpf ( fcut1,fcut2,order[=8],type[=1],dBpass[=.5],dBstop[=-40] )

IIR, band-pass filtering; Apply a band-pass filter to the audio signal

arg

type

Description

Unit or Value scale

x

AUDIO

audio signal


fcut1

SCAL

cut-off frequency1


fcut2

SCAL

cut-off frequency2


order

SCAL

order of the IIR filter


type

SCAL

IIR filter type (1: Butterworth, 2: Chebyshev, 3: Elliptic)


dBpass

SCAL

Passband ripple allowed


dBstop

SCAL

Stopband attenuation


Outputs

  • y is a bandpass-filterd version of x.

Notes

  • The output is not normalized; i.e., the rms of x is adjusted according to the filter gain.
  • fcut1 and fcut2 should be less than the Nyquist frequency.
  • IIR filter coefficients are designed by the specification requested in the argument list, but not guranteed. The user is responsible for making sure the output follows the spec.

Examples

  • bpf(x, 2000, 4000)

See Also

hpf | bpf | bsf

Algorithm

ELLF Digital Filter Calculator

Created with the Personal Edition of HelpNDoc: Easily create PDF Help documents