QUICK-REF - CsoundManual - Top of this section - Previous - Contents - Index - Next 

follow

      kr   follow   asig,  idt

DESCRIPTION

Envelope follower unit generator.

INITIALIZATION

idt - This is the period, in seconds, that the average amplitude of asig is reported. If the frequency of asig is low then idt must be large (more than half the period of asig )

PERFORMANCE

asig - This is the signal from which to extract the envelope.

EXAMPLE:

   k1      line    0, p3, 30000    ; Make k1 a simple envelope
   a1      oscil   k1, 1000, 1     ; Make a simple signal using k1
   ak1     follow  a1, .02         ; ak1 is now like k1
   a2      oscil   ak1, 1000, 1    ; Make a simple signal using ak1
           out     a2              ; Both a1 and a2 are the same
To avoid zipper noise, by discontinuities produced from complex envelope tracking, a lowpass filter could be used, to smooth the estimated envelope.
 

AUTHOR: 

Paris Smaragdis 
MIT, Cambridge 
1995


QUICK-REF - CsoundManual - Top of this section - Previous - Contents - Index - Next 

HTML Csound Manual - © Jean Piché & Peter J. Nix, 1994-97