A newer version of Max is available. Click here to access the latest version of the Max documentation

butterworth~ Reference

Butterworth filter

butterworth~

Examples

Inlets

x [signal]

In the left inlet, the signal to be filtered.

frequency [auto]

The filter's cutoff frequency is received in the right inlet or defined by the @frequency attribute.

Outlets

y [signal]

The filtered signal, with either high or low frequencies removed.

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

order [int] (default: 5)

The @order attribute defines the filter order. A higher filter order will mean a steeper cutoff for the filter.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

frequency [auto]

The filter's cutoff frequency is received in the right inlet or defined by the @frequency attribute.

type [enum] (default: lowpass)

For now, only the filter types "lowpass" or "highpass" are supported. Lowpass filters attenuate high frequencies and pass low frequencies. Highpass filters do the opposite.

Possible values:

0 = 'lowpass'
1 = 'highpass'

x [signal]

In the left inlet, the signal to be filtered.

See Also

Name Description
onepole~ Single-pole lowpass filter
biquad~ Two-pole, two-zero filter