lpsholdp — Control signals based on held segments.


Generate control signal consisiting of held segments delimited by two or more specified points. The entire envelope can be looped at time-variant rate. Each segment coordinate can also be varied at k-rate.


ksig lpsholdp  kphase, ktrig, ktime0, kvalue0  [, ktime1] [, kvalue1] \
      [, ktime2] [, kvalue2] [...]


ksig - output signal

kphase -

kvalue0 ...kvalueN - values of points

ktime0 ...ktimeN - times of points expessed in fraction of a cycle

lpsholdp opcode is similar to lpshold; the only difference is that, instead of frequency, a time-variant phase is required. If you use a phasor to get the phase value, you will have a behaviour identical to lpshold, but interesting results can be achieved when using phases having non-linear motions, making lpsholdp more powerful and general than lpshold.


Written by Gabriel Maldonado.

New in Csound 5 (Previously available only on CsoundAV)