Advertisement
Guest User

SuperCollider

a guest
Mar 4th, 2012
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. SynthDef.new("pink-noise", { |vol = 0.3|
  2. Out.ar(0, PinkNoise.ar(vol))
  3. }).store();
  4.  
  5. SynthDef.new("market", { |freq = 10|
  6. Out.ar( 0,
  7. RLPF.ar(Saw.ar([100, 102], 0.15),
  8. Lag.kr(LFNoise0.kr( freq, 700, 1600), 0.1),
  9. 0.05)
  10. )
  11. }).store();
  12.  
  13. SynthDef(\sine, { |amp = 0.5, freq = 440|
  14. var data = SinOsc.ar(freq, 0, amp);
  15. Out.ar(0, data ! 2);
  16. }).store;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement