Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Load setup file to get examples working
- ("C:/Users/Mauro/Desktop/howto_co34pt_liveCode-master/Setup/Setup.scd").load;
- p.clock.tempo = 120/60;
- ~windNoise={Pan2.ar(Gendy4.ar(0,initCPs:1))};
- (
- b = NetAddr.new("192.168.1.25", 8000);
- b.sendMsg("/cubo", 1);
- Ndef(\wind,~windNoise).play;
- )
- (
- ~coin=SynthDef("tCoin", { arg out=0, prob=0.08;
- var trig;
- trig = Impulse.ar(20, 0, SinOsc.kr(0.5,0,1,1));
- Out.ar(out,
- Mix.fill(3, {Ringz.ar(CoinGate.ar(prob, trig*0.5), #[1,1.5]*Rand(1000, 9000), 0.01)})
- )
- }).add;
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement