Monday, March 30, 2009

A one liner from the SC users list.

Lifted directly from the SC Users List a lovely one liner. 


// server samplerate should be 44100 

{Splay.ar(Ringz.ar(Impulse.ar([2, 1, 4], [0.1, 0.11, 0.12]), [0.1,  
0.1, 0.5])) * EnvGen.kr(Env([1, 1, 0], [120, 10]), doneAction: 2)}.play 



-- 
This work is licensed under the Creative Commons Attribution-Share  
Alike 3.0 Germany License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/de/  
  or send a letter to Creative Commons, 171 Second Street, Suite 300,  
San Francisco, California, 94105, USA.

Tasty. 

No comments:

Post a Comment