envelope.dsp

Interpolate a segment of an envelope.

Function

This instrument is used by the Audio folio to produce multi-segmented envelopes. The main CPU passes each segment to this DSP instrument, which interpolates the values between the envelope points. This can be used to produce contours to smoothly control amplitude or other parameters. See the Audio folio function CreateEnvelope() and the example program ta_envelope.c. The knobs are controlled internally by the Audio folio to produce the desired effect.

You can also use this instrument by itself to generate ramp functions.

Knobs

Env.request - -$8000 => $7FFF = target value

Env.incr - 0 => $7FFF, default = $0010. = how fast to get there.

Inputs

None

Outputs

Output

Input FIFOs

None

Output FIFOs

None

Resources

Ticks = 22

N memory = 27 words