port

Name

port --  Applies portamento to a step-valued control signal.

Description

Applies portamento to a step-valued control signal.

Syntax

kr port ksig, ihtim [, isig]

Initialization

ihtim -- half-time of the function, in seconds.

isig (optional, default=0) -- initial (i.e. previous) value for internal feedback. The default value is 0.

Performance

kr -- the output signal at control-rate.

ksig -- the input signal at control-rate.

port applies portamento to a step-valued control signal. At each new step value, ksig is low-pass filtered to move towards that value at a rate determined by ihtim. ihtim is the "half-time" of the function (in seconds), during which the curve will traverse half the distance towards the new value, then half as much again, etc., theoretically never reaching its asymptote. With portk, the half-time can be varied at the control rate.

See Also

areson, aresonk, atone, atonek, portk, reson, resonk, tone, tonek