SCDoc: Use proper static string constants instead of comparing string literals.
[supercollider.git] / examples / demonstrations / sc_onliner.scd
blob71ef47a0a4344110a3e54673ac18a456a7f94994
2 /*
3 This one-line example by Lance Putnam is an example of SuperCollider's expressive power. It modulates the pitch of a single sine-wave oscillator.
4 */
6 {SinOsc.ar(OnePole.ar(Mix(LFSaw.ar([1,0.99],[0,0.6],
7           2000,2000).trunc([400,600])*[1,-1]),0.98)).dup*0.1}.play