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

swanramp~ Reference

Switch-and-ramp click compensation

swanramp~

Examples

Arguments

trigger [auto]

Optional

A positive value in the left inlet will trigger the de-click ramp. A new ramp can be triggered even if a ramp is already in progress.

Inlets

signal [auto]

The input signal that any de-click ramps will be mixed with.

trigger [auto]

A positive value in the left inlet will trigger the de-click ramp. A new ramp can be triggered even if a ramp is already in progress.

Outlets

out1 [signal]

Outputs the incoming signal mixed with the de-click ramp.

Fixed Attributes

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

ramp [number] (default: 100)

Sets the duration of the down ramp in samples.

Dynamic Attributes

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

reset [bang] (default: 0)

Banging this attribute will reset the object to its default state.

signal [auto]

The input signal that any de-click ramps will be mixed with.

trigger [auto]

A positive value in the left inlet will trigger the de-click ramp. A new ramp can be triggered even if a ramp is already in progress.

See Also

Name Description
filtercoeff~ Signal-rate filter coefficient generator
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