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

limi~ Reference

Lookahead peak-limiter

limi~

Examples

Arguments

channels [number]

Optional

The number of channels to process.

buffersize [number]

Optional

The size (in samples) of internal buffers. This defines the maximum value for the lookahead attribute. The default is 512.

Inlets

input [signal]

The signal to be filtered.

Outlets

output [signal]

The filtered signal.

Fixed Attributes

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

buffersize [number] (default: 512)

The size (in samples) of internal buffers. This defines the maximum value for the lookahead attribute. The default is 512.

channels [number] (default: 1)

The number of channels to process.

mode [enum] (default: exponential)

Response mode for the limiter. Choices are linear or exponential .

Possible values:

0 = 'linear'
1 = 'exponential'

Dynamic Attributes

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

bypass [number] (default: 0)

Pass the input straight-through.

clear [bang]

Clear buffers.

dcblock [number] (default: 0)

Filter DC Offsets at the input.

input [signal]

The signal to be filtered.

lookahead [number] (default: 100)

Number of samples to look ahead.

postamp [number] (default: 0)

Gain (db) applied after processing.

preamp [number] (default: 0)

Gain (db) applied prior to processing.

release [number] (default: 1000)

Millisecond release time.

threshold [number] (default: 0)

Level (db) above which to apply limiting.

See Also

Name Description
limi~ Lookahead peak-limiter
biquad~ Two-pole, two-zero filter
allpass~ Apply an allpass filter effect
comb~ Apply a comb filter effect
cross~ Third-order crossover filter
lores~ Resonant lowpass filter
reson~ Resonant bandpass filter
svf~ State-variable filter with simultaneous outputs
onepole~ Single-pole lowpass filter