Skip to content

Instantly share code, notes, and snippets.

@jf-parent
Created June 3, 2018 14:28
Show Gist options
  • Save jf-parent/0146e0301478e1322dd3bcd9f237a2b8 to your computer and use it in GitHub Desktop.
Save jf-parent/0146e0301478e1322dd3bcd9f237a2b8 to your computer and use it in GitHub Desktop.
Boudoir // Seuil Enforcé
def intro():
p1 >> sawbass(P[(0,1),(2,4),(4,5),(1,2)], dur=8, formant=2, oct=4, lpf=[400,600,600,400], room=1, mix=1, amp=1.2).after(420, 'stop')
Clock.future(0, intro)
def second():
p2 >> pulse([(0,1,2),(4,5,6),(3,4,5),(2,3,4)], dur=8, oct=4, sus=2, lfp=500, formant=2, amp=.5).after(400, 'stop')
b1 >> play("V Vv VvV", sample=0, amp=.2, delay=4).after(400, 'stop')
Clock.future(30, second)
def acme():
b2 >> play("[--][kk][kk][kkk]",amp=.2).after(30, 'stop')
b3 >> play("I", dur=8, sample=[0,1,2]).after(30, 'stop')
Clock.future(60, acme)
Clock.future(140, acme)
Clock.future(200, acme)
def middle():
p3 >> fuzz([0,P[:8]], dur=4, vib=3, oct=5, formant=[0,3,6], lpf=900, amp=.4).after(70, 'stop')
p5 >> swell([0, P[:4]], dur=8, sus=6, oct=4, amp=.2, mix=1, room=1, vib=1/2, formant=[0,2,4]).after(70, 'stop')
Clock.future(80, middle)
Clock.future(240, middle)
def danger():
p4 >> growl([0,P[4:8]], dur=var([2,4], 8), oct=4, sus=2, tremolo=[2,3], formant=linvar([2,4], 16), lpf=1600).after(60, 'stop')
p6 >> blip([0,[4,5]], dur=8, oct=3, sus=4, formant=5, chop=1/2, amp=.6).after(60, 'stop')
Clock.future(160, danger)
Clock.future(320, danger)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment