2 summary:: Create a constant amplitude signal
3 related:: Classes/LeakDC
4 categories:: UGens>Generators>Single-value
8 This UGen simply outputs the initial value you give it.
15 constant value to output, cannot be modulated, set at initialisation time
19 //won't work (the output is 0.5*0.0), which is why we need the DC UGen!
26 //DC offset; will click on start and finish
27 {DC.ar(0.5) + SinOsc.ar(440,0,0.1) }.play;
30 //test - note the transient before LeakDC adapts and suppresses the offset
31 {LeakDC.ar(DC.ar(0.5))}.play;
34 //For these examples, you might want to boot the internal server
35 Server.default =s = Server.internal;