SHARE
TWEET

Untitled

a guest Dec 3rd, 2018 111 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Load setup file to get examples working
  2. ("C:/Users/Mauro/Desktop/howto_co34pt_liveCode-master/Setup/Setup.scd").load;
  3.  
  4. p.clock.tempo = 120/60;
  5.  
  6. ~windNoise={Pan2.ar(Gendy4.ar(0,initCPs:1))};
  7.  
  8. (
  9. b = NetAddr.new("192.168.1.25", 8000);
  10. b.sendMsg("/cubo", 1);
  11. Ndef(\wind,~windNoise).play;
  12. )
  13.  
  14. (
  15. ~coin=SynthDef("tCoin", { arg out=0, prob=0.08;
  16.     var trig;
  17.     trig = Impulse.ar(20, 0, SinOsc.kr(0.5,0,1,1));
  18.     Out.ar(out,
  19.         Mix.fill(3, {Ringz.ar(CoinGate.ar(prob, trig*0.5), #[1,1.5]*Rand(1000, 9000), 0.01)})
  20.     )
  21. }).add;
  22. )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top