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.
21 ( // used to lag pitch
22 SynthDef( \lagud_help,
23 { arg freq=300,lagup=1, lagdown=5;
25 SinOsc.ar( // sine wave
26 LagUD.kr( // lag the frequency
37 x = Synth.new( \lagud_help ); // create the synth
38 x.set( \freq, 500 ); // set the frequency to a higher value (takes 1 second)
39 x.set( \freq, 100 ); // set the frequency to a lower value (takes 5 seconds)