portSignal Modifiers:Standard Filters:Controlportport
Applies portamento to a step-valued control signal.
Description
Applies portamento to a step-valued control signal.
Syntaxkres port ksig, ihtim [, isig]Initializationihtim -- half-time of the function, in seconds.
isig
(optional, default=0) -- initial (i.e. previous) value for
internal feedback. The default value is 0. Negative value will
cause initialization to be skipped and last value from previous instance to be used
as initial value for note.
Performancekres -- 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.
Examples
Here is an example of the port opcode. It uses the file port.csd.
Example of the port opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoStandard Filters: Control signal filters