Skip to content

Instantly share code, notes, and snippets.

@tedthetrumpet
Created July 29, 2016 11:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tedthetrumpet/22c7404050b8dff88b5e5434e941f6f2 to your computer and use it in GitHub Desktop.
Save tedthetrumpet/22c7404050b8dff88b5e5434e941f6f2 to your computer and use it in GitHub Desktop.

Ndef(\m).put(1, \filter -> {|x| JPverb.ar(x, t60:2, size:0.2)}).set(\wet1, 1.0) Ndef(\m).put(2, \filter -> {|x| Decimator.ar(x, rate:1700, bits:7)}).set(\wet1, 0.1) Ndef(\m).put(2, \filter -> {|x| Decimator.ar(x, rate: Ndef(\l).kr.range(250,3770), bits:5)}).set(\wet1, 0.5) Ndef(\m).put(3, \filter -> {|x| Greyhole.ar(x, delayTime:t.tempo/8, feedback:0.6, size:0.1, diff:0.01, modDepth:0)}).set(\wet1, 0.6)

Ndef(\l, {LFNoise1.kr(t.tempo/4)})

Pbindef(\b, \instrument, \bform) Pbindef(\b, \midinote, [24, 36, 48]) (a=[36!8, 34!8].flatten; a=[a, a-12, a+12]; a=a.flop; )

Pbindef(\b, \midinote, Pseq([36!8, 34!8].flatten, inf)) Pbindef(\b, \midinote, Pseq(a, inf)) Pbindef(\b, \midinote, Pseq([36, 34].flatten, inf)) Pbindef(\b, \amp, 0.02) Pbindef(\b, \dur, 4) Pbindef(\b, \legato, 0.3) Pbindef(\b, \out, ~mbus) Pbindef(\b, \out, 0)

Pbindef(\b).play(t) Pbindef(\b).stop

Ndef(\m).clear(20)

Pbindef(\x, \instrument, \bf) Pbindef(\x, \amp, 0.3) Pbindef(\x).play(t) Pbindef(\x).stop

Pbindef(\y, \instrument, \bf) Pbindef(\y, \dur, 1/2) Pbindef(\y, \buf, Pseq({~bufs.choose}!16, inf)) Pbindef(\y, \note, Prand((-12..0), inf)) Pbindef(\y, \out, ~mbus) Pbindef(\y, \out, 0) Pbindef(\y, \amp, 0.1) Pbindef(\y).play(t) Pbindef(\y).stop

Pbindef(\w, \instrument, \bf) Pbindef(\w, \buf, 17) Pbindef(\w, \note, -12) Pbindef(\w, \dur, 1/4) Pbindef(\w, \out, ~mbus) Pbindef(\w, \amp, Pseq(2312.asBinaryDigits(16)/8, inf)) Pbindef(\w, \amp, Pseq(2312.rand.asBinaryDigits(16)/8, inf)) Pbindef(\w).play(t) Pbindef(\w).stop

s.record s.stopRecording thisProcess.platform.recordingsDir.openOS

@tedthetrumpet
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment