2 summary:: Exponential lag
3 categories:: UGens>Filters
4 related:: Classes/Lag, Classes/Lag2, Classes/Lag3, Classes/Lag2UD, Classes/Lag3UD
7 This is essentially the same as link::Classes/Lag:: except that you can supply a different 60 dB time for when the signal goes up, from when the signal goes down. This is useful for smoothing out control signals, where "fade in" should be different from "fade out".
15 60 dB lag time in seconds for the upgoing signal.
17 60 dB lag time in seconds for the downgoing signal.
23 ( // used to lag pitch
24 SynthDef( \lagud_help,
25 { arg freq=300,lagup=1, lagdown=5;
27 SinOsc.ar( // sine wave
28 LagUD.kr( // lag the frequency
39 x = Synth.new( \lagud_help ); // create the synth
40 x.set( \freq, 500 ); // set the frequency to a higher value (takes 1 second)
41 x.set( \freq, 100 ); // set the frequency to a lower value (takes 5 seconds)