# Schedule Party * Coralie ```python= a1 >> ... ``` * Adele ```python= Scale.default=Scale.major Clock.bpm=160 Clock.clear() k1 >> pluck([0,2,0,2,0,2,0,2,0,2,0,2,-2,2,-2,2,-2,2,-4,0,-4,1,-3,1], dur=[3/4,3/4,1/2], chop=4, sus=2) k1.stop() p1 >> play("x...x...x..x..x x...x...x..x..x x...x...x..x..x x..x..x.x..x..x.", sample=4, lpf=100 ,dur=0.25, amp=1.2) p1.stop() v1 >> viola([0,-2,-4,-6,1,None], dur=[4,4,4,2,0.25,1.75], oct=3, chop=4, sus=4, amp=1) v1.stop() p2 >> play("s-u-", amp=0.5) p2.stop() p3 >> play(" [--] ", amp=0.5) p3.stop() p4 >> play(" * * * * ", amp=0.8) p4.stop() b1 >> bass([0,1,-2,-4,1], dur=[4,4,4,2,2], oct=6, shape=0.5, amp=0.3) b1.stop() b2 >> bbass([2,3,0,1,4,5], dur=[4,4,4,2,1,1], oct=6, shape=0.5, amp=0.3) b2.stop() a1 >> ambi([0,2,4,2,1,1,4,1,2,2,4,6,4,8,6,3], oct=4, amp=0.6) a1.stop() group1=Group(p1,v1,b1) group1.solo() group2=Group(p1,v1,a1) group2.solo() group3=Group(p1,v1,b1,k1) group3.solo() ---------------------------------------------------------------------------------------------- Scale.default=Scale.major Clock.clear() Clock.bpm=140 s1 >> space([5,4,3,2,4,3,2,1,0,1,3], dur=[1,1,1,0.5,0.5,1,1,1,0.5,0.25,0.25]) s1.stop() r1 >> rsaw([(-2,0,4),(-4,-2,3),(-5,-2,2),(-6,-3,0)], oct=5, dur=4, amp=1/25) r1.stop() b1 >> bass([0,1,-2,2], dur=[4,4,4,4], oct=6, shape=0.5, amp=0.3) b1.stop() b2 >> bbass([3,4,5,0,2], dur=[4,3,1,4,4], oct=6, shape=0.5, amp=0.3) b2.stop() p2 >> play("V-V-", sample=3, lpf=4000, amp=0.7) p2.stop() p3 >> play(" [VV] ", amp=0.5) p3.stop() p4 >> play(" * * * * ", amp=0.5) p4.stop() p5 >> play("..h.", amp=0.4) p5.stop() group2=Group(p5,r1,b1) group2.solo() group3=Group(p5,r1,b1,b2) group3.solo() group1=Group(p1,r1,b1) group1.solo() ---------------------------------------------------------------------------------------------- Scale.default=Scale.major Clock.clear() Clock.bpm=160 r1 >> rsaw([5,6,9,2], oct=2, dur=4, amp=0.15) r1.stop() p1 >> play("<X.>", sample=2, amp=0.9) p1.stop() p2 >> play("s[--]o-s-o[---]", amp=0.9) p2.stop() s1 >> space([-2,2,3,2,3,2], oct=5, dur=[2,1,1,2,1,1], amp=1) s1.stop() r2 >> rsaw([-5,-1,0,-1,1,-1], oct=6, dur=[2,1,1,2,1,1], amp=0.1) r2.stop() b1 >> razz([-3,-1,-3,-1,2,-1,1,-1], dur=1, oct=7, amp=2) b1.stop() g1 >> glass([6], oct=5, dur=1, amp=3) g1.stop() o1 >> sillyvoice([11,11,11,11,11,13,13,13,13,13,15,15,15,15,15,18,18,15,15,15,16,9,16,9,16,9,16,9,9,9,(9,16)], oct=3, dur=[1/2,1/4,1/4,1/2,1/2,1/2,1/4,1/2,1/4,1/2,1/2,1/4,1/4,1/2,1/2,1/2,1/4,1/2,1/4,1/2,1/2,1/4,1/4,1/2,1/2,1/2,1/4,1/2,1/4,1/2,4], amp=0.7) o1.stop() p3 >> play(" h ") p3.stop() group1=Group(r1,p3,s1,g1,p2) group1.solo() group2=Group(r1,p3,s1) group2.solo() group3=Group(r1,p1,s1) group3.solo() group4=Group(r1,p3,o1,g1) group4.solo() group5=Group(r1,p2,p3) group5.solo() ``` * Titouan ```python= Scale.default = "minor" pattern_base = var([4,4,[3,6],3],2) pattern_second = var([[4,4,4,3],5,6,[5,5,5,[5,7]]],0.5) start_bpm=60 Clock.bpm=start_bpm perc_amp=0.5 lyrics_amp=0.5 def sequence(f): f() return f @sequence def dance_t1(): print("Start") Clock.bpm=start_bpm a2 >> moogpluck2(pattern_second,dur=1/4, sus=0.5, amp=1, root=-12, hpf=800, vib=6, bend=0.02, room=0.8, mix=0.2, pshift=-0.09) def dance_t2(): print("t2") b2 >> sine(pattern_base, dur=2, sus=2, root=-12*3, tanh=0.0, amp=0.5) def dance_t3(): print("t3") p1 >> play("X:o(:::X)", sample=[0,3,2,[3,3,3,0]], amp=var([1,0],[8*3,8])*perc_amp, room=0.1, mix=0.1) Clock.bpm=linvar([start_bpm,140],[64,inf], start=now) a2.mix=linvar([0.2,0],[64,inf],start=now) def dance_t4(): print("t4") def dance_t5(): print("t5") b3 >> bphase(var([4,4,[3,4],3], 2), dur=1, amp=0.07, delay=0, root=12*2, sus=0.8, sample_atk=0.3, mix=0.9, room=0.8, pan=linvar([-1,1],16)) p2 >> play("[XX][ X]o[ X]",sample=[0,0,2,0], amp=var([0,1],[8*3,8])*perc_amp, room=0.1, mix=0.1) v1 >> loop("lyrics", (P[132:136] | P[128:132] | P[128:132] | P[128:132] )*P[Clock.bpm/140], amp=lyrics_amp*linvar([0,1],[16,inf], start=now), delay=-0.1, rate=Clock.bpm/140) # all of a sudden def dance_t6(): print("t6") def dance_t7(): print("t7") a1 >> star(pattern_second, dur=0.25, sus=0.2, tanh=0.0, amp=linvar([0.5,1],1)*sinvar([0,1],[64,inf],start=now)*0.65, pan=linvar([-0.8,0.8],16), root=12*2, room=0.7, mix=0.6) def dance_t8(): print("t8") def dance_t9(): print("t9") def dance_t10(): print("t10") def dance_t11(): print("t11") h2 >> hoover(var([4,4,[3,4],3], 2), dur=0.5, sus=0.15, amp=0.25, delay=0, echo=0.25, echomix=0.15, root=-12) def dance_t12(): print("t12") sch_drop() def dance_t13(): print("t13") #drop starts here def dance_t14(): print("t14") def dance_t15(): print("t15") def dance_t16(): print("t16") def dance_t17(): print("t17") a3 >> moogpluck2(pattern_second,dur=1/4, sus=0.5, amp=0.9, root=0, hpf=800, vib=6, bend=0.02, room=0.8, mix=0.0, pshift=-0.09) def dance_t18(): print("t18") def dance_t19(): print("t19") p1.stop() p2.stop() sch_break() def dance_t20(): print("t20") p1 >> play("X:o(:::X)", sample=[0,3,2,[3,3,3,0]], amp=var([1,0],[8*3,8])*perc_amp, hpf=0, dur=0.5) p2 >> play("[XX][ X]o[ X]",sample=[0,0,2,0], amp=var([0,1],[8*3,8])*perc_amp) def dance_t21(): print("t21") def dance_t22(): print("t22") def dance_t23(): print("t23") def dance_t24(): print("t24") def dance_t25(): print("t25") def dance_t26(): print("t26") def dance_t27(): print("t27") def dance_t28(): print("t28") def dance_t29(): print("t29") def dance_t30(): print("t30") def dance_t31(): print("t31") Clock.clear() h1 >> hoover(pattern_base, dur=var([0.5,0.25],[1.5,0.5]), sus=var([0.5,0.25],[1.5,0.5]), root=-12*var([1,0,-1,-2],2), amp=0.4, hpf=expvar([50,1500],[12,4]), chop=1) p1 >> play("x-o-") b1.lpf=300 print(FxList) Clock.bpm=500 start = Clock.mod(32) - 0.1 Clock.schedule(dance_t1, start) start = start + 16 Clock.schedule(dance_t2, start) start = start + 16 Clock.schedule(dance_t3, start) start = start + 16 Clock.schedule(dance_t4, start) start = start + 16 Clock.schedule(dance_t5, start) start = start + 16 Clock.schedule(dance_t6, start) start = start + 16 Clock.schedule(dance_t7, start) start = start + 16 Clock.schedule(dance_t8, start) start = start + 16 Clock.schedule(dance_t9, start) start = start + 16 Clock.schedule(dance_t10, start) start = start + 16 Clock.schedule(dance_t11, start) start = start + 16 Clock.schedule(dance_t12, start) start = start + 16 Clock.schedule(dance_t13, start) start = start + 16 Clock.schedule(dance_t14, start) start = start + 16 Clock.schedule(dance_t15, start) start = start + 16 Clock.schedule(dance_t16, start) start = start + 16 Clock.schedule(dance_t17, start) start = start + 16 Clock.schedule(dance_t18, start) start = start + 24 Clock.schedule(dance_t19, start) start = start + 4 Clock.schedule(dance_t20, start) start = start + 12 Clock.schedule(dance_t21, start) start = start + 24 Clock.schedule(dance_t22, start) start = start + 8 Clock.schedule(dance_t23, start) start = start + 16 Clock.schedule(dance_t24, start) start = start + 16 Clock.schedule(dance_t25, start) start = start + 16 Clock.schedule(dance_t26, start) start = start + 16 Clock.schedule(dance_t27, start) start = start + 16 Clock.schedule(dance_t28, start) start = start + 16 Clock.schedule(dance_t29, start) start = start + 16 Clock.schedule(dance_t30, start) start = start + 16 Clock.schedule(dance_t31, start) start = start + 16 def sch_break(): def sch_break_a(): print("Break start") p1.stop() p2.stop() h1.stop() l1 >> loop("amen", P[[4,5,6,7]*3+[8]*4+[4,5,6,7]*3+[6,7]*2]*P[Clock.bpm/131]*P[l1.dur], rate=Clock.bpm/131, delay=-0.07, dur=0.25, hpf=linvar([1000,0],[4,inf], start=now), lpf=sinvar([8000,800],[8,inf],start=now), mix=linvar([0.2,0.8],8, start=now), room=0.7).after(8, "stop") b1.lpf=expvar([300,20], [8,inf], start=now) def sch_break_b(): v1 >> loop("lyrics", P[190+64:190+64+32]*P[Clock.bpm/140], rate=Clock.bpm/140, amp=lyrics_amp, delay=-0.1) print("B!") break_start = Clock.mod(32) - 0.1 + 32 - 8 Clock.schedule(sch_break_a, break_start) Clock.schedule(sch_break_b, break_start+8) sch_break() def sch_drop(): def sch_drop_stop(): print("Start drop") p1.stop() p2.stop() b3.stop() v2.stop() v1 >> loop("lyrics", P[190:190+32]*P[Clock.bpm/140], amp=0.3, rate=Clock.bpm/140, delay=-0.1, amp=lyrics_amp) # all of a sudden r1 >> windmaker(P[0:32],dur=1, slide=0.1, amp=linvar([0,0.1],[16,inf],start=now), mix=0.5, room=0.6).after(32, "stop") h1 >> hoover(pattern_base, dur=var([0.5,0.25],[1.5,0.5]), sus=var([0.5,0.25],[1.5,0.5]), root=-12*1, amp=sinvar([0,0,1],[10,32-10,inf],start=now)*0.4, hpf=expvar([50,1500],[32-4,4]), chop=1) b1 >> saw(P[pattern_base], dur=[0.75,0.75,0.5], sus=b1.dur*0.8, root=-12*2, tanh=0.03, vib=7, lpf=00, amp=sinvar([0,1],[32,inf],start=now)**1, slidefrom=var([[-0.1,0.1,-0.1,-0.2,0.2],0],[0.5,3.5]*3+[0.5,1.5]*2), slidedelay=0.05) def sch_drop_pre1(): p1 >> play("X", dur=var([1,0.5,0.25],[8,4,4]), amp=perc_amp, hpf=linvar([500,0,200,5000],[8,2,6,inf],start=now)) def sch_drop_pre2(): p1 >> play(" XX", sample=0, amp=perc_amp, dur=0.5, hpf=0) h2.stop() h1 >> hoover(pattern_base, dur=var([0.5,0.25],[1.5,0.5]), sus=var([0.5,0.25],[1.5,0.5]), root=-12*1, amp=0.4, hpf=expvar([50,1000],[16-4,4]), chop=1) def sch_drop_end(): print("Drop over") p1 >> play("X:o(:::X)", sample=[0,3,2,[3,3,3,0]], amp=var([1,0],[8*3,8])*perc_amp, hpf=0, dur=0.5) p2 >> play("[XX][ X]o[ X]",sample=[0,0,2,0], amp=var([0,1],[8*3,8])*perc_amp) drop_start = Clock.mod(32) - 0.1 Clock.schedule(sch_drop_stop, drop_start) drop_start = drop_start + 16 Clock.schedule(sch_drop_pre1, drop_start) drop_start = drop_start + 16 Clock.schedule(sch_drop_pre2, drop_start) drop_start = drop_start + 8 Clock.schedule(sch_drop_end, drop_start) sch_drop() ``` * Lea ```python= a1 >> ... ``` * Valentin ```python= seconds = Clock.seconds_to_beats #samples_folder("path/to/techno_samples") Clock.bpm=142 var.chords = var([0,2],8) def sequence(f): f() return f @sequence def sequence1(): print("sequence1") #m1[1,2,3,4,5,6,7,8,9,10,11,12] m1 >> loop("hg",P[2:12],amplify=1,delay=0.5) p1 >> hoover(P[var.chords,4,6,7][:6],dur=1/2, amp=0.1) p2 >> bell(var.chords + var([0,2,(2,4)]),dur=[1,1/2],amp=0.5) d2 >> play("- -- - --",dur=1/4) @sequence def sequence2(): print("sequence2") d1 >> play("<x[ [sn]]>< h>",sample=2, dur=2) b1 >> sawbass(var.chords + var([0,5,1]),dur=PDur(5,8)) s1 >> dirt([7,6,4,2,var.chords + var([0,2],8)], dur=1/2, blur=1.5) @sequence def sequence3(): print("sequence3") p3 >> prophet(P[3,2,var.chords].loop(4)|P[var([4,6])].stutter(4), dur=1/4) b2 >> bass(b1.pitch[1], dur=[1/2,1,2], rate=2, room=4).spread() t1 >> play('t',echo=0.25, echotime=0.5,rate=1.5,dur=[0.25,0.5]) @sequence def sequence4(): print("sequence4") p7 >> acidbass ([4,3,1,2],dur=1,chop=2,room=3,amp=0.3,oct=5) k2 >> play('v',dur=1/2,amp=0.5,lpf=t1.lpf) p6 >> rlead([1,2,3,(4,5,6)],oct=[4],dur=1/2,chop=2,amp=1) @sequence def sequence5(): print("sequence5") p9 >> space([3,4,2,1,(2,4)],oct=[4],dur=1/2,chop=2) d4 >> play('X-oX-o----xOxXo',dur=1/2) a1 >> ssaw([2,7,3,4,(3,2)],oct=[4],dur=1/2,chop=1) print(SynthDefs) @sequence def sequence6(): print("sequence6") p1.stop() p2.stop() d2.stop() d1.stop() p4 >>tb303([3,2,0,(4,6)],sus=4, oct=5, dur=1/3,chop=2, pan=var([-1,1],4),amp=0.5) p5 >> play(' x x x(x{[xxxx]} x x x x x x x (x{xxxxxxxxx})) ', bpm=180,amp=0.5,sample=1) d8 >> play('x x x x',bpm=180,amp=0.5) @sequence def sequence7(): print("sequence7") a1.stop() d4.stop() p9.stop() p6.stop() t1.stop() k2.stop() p7.stop() a2 >> prophet([(0,5,7),(7,3,6),(1,4,5,1)],dur=(4,4,4,4), amp=0.5, chop=0, tremolo=4) p4 >> play('v----o----') @sequence def sequence8(): print("sequence8") m1.stop() d4.stop() p3.stop() b1.stop() c1 >> play("0.(.[--]).") c2 >> blip([5,3,2,0], amp=linvar([1,.3],[8,4]),echo=5,sus=linvar([1,2],[4,4]),shape=linvar([1,0],[3,5]),vib=0).every(4,"rotate") c3 >> play("[----]",dur=1) c4 >> keys([0,2,4],dur=8) c5 >> play("<0:--><..X.>", lpf=linvar([0,0,4000,0],[12,0,8,0])) @sequence def sequence9(): print("sequence9") s1.stop() p3.stop() b2.stop() t1.stop() p4.stop() d8.stop() p5.stop() a2.stop() c1.stop() c2.stop() c3.stop() c4.stop() c5.stop() start = Clock.mod(32) - 0.1 Clock.schedule(sequence1, start) start = start + 16 Clock.schedule(sequence2, start) start = start + 32 Clock.schedule(sequence3, start) start = start + 32 Clock.schedule(sequence4, start) start = start + 32 Clock.schedule(sequence5, start) start = start + 16 Clock.schedule(sequence6, start) start = start + 18 Clock.schedule(sequence7, start) start = start + 18 Clock.schedule(sequence8, start) start = start + 18 Clock.schedule(sequence9, start) start = start + 32 ``` * Marie ```python= def sequence(f): f() return f @sequence def a1(): Clock.bpm=120 o1 >> play("m m ", dur=[0.5,1,0.5], sus=3, echo=5, pan=(1,1,-1,-1)) @sequence def z0(): b1 >> play(" :o: : : :o: ", amp=0.5, sus=2) @sequence def z1(): b2 >> play("X - - X - X - X ", pan=sinvar([-0.5,0.5],16)) @sequence def y1(): o2 >> feel(var([(0,4,2),(0,2),(4,2),(0,4)]), dur=4, sus=6, hpf=800, room=3, amp=0.5) @sequence def y2(): b2.stop() s1 >> play('x:', amp=0.5) o2 >> feel(var([(0,4,2),(0,2),(4,2),(0,4)]), dur=2, sus=6, hpf=400, room=3, amp=0.5) @sequence def y3(): o1.stop() b1.stop() s1.stop() o2.stop() o5 >> play('k k k ') @sequence def y4(): Clock.bpm=135 o2 >> sinepad([(0,4,2)], dur=4, sus=6, hpf=800, room=3, amp=0.4) b2 >> play("X - - X - X - X ", pan=sinvar([-0.5,0.5],16)) b1 >> play(" :o: : : :o: ", amp=0.8) o1 >> play("m m ", dur=[0.5,1,0.5], sus=3, echo=5, pan=(1,1,-1,-1)) o5.stop() @sequence def x1(): o1 >> play("m m ", dur=[0.5,1,0.5], sus=3, echo=5, amp=1.3, pan=(1,1,-1,-1)) b1 >> play(" :o: : : :o: ", amp=1) b2 >> play("X - - X - X - X ", pan=sinvar([-0.5,0.5],16)) @sequence def y5(): Clock.bpm=130 o1.stop() b2.stop() p1 >> play("ok-", pan=[-1,1], room=3, amp=0.7) @sequence def x2(): z2 >> sinepad(P[(0,2),(0,4),(0,2),(0,4)].stutter([2,4,2,4]), dur=[1,0.5,1], hpf=700, room=2, pan=(1,-1,-1,1), amp=0.9) @sequence def a2(): p1 >> play("ok-", pan=[-1,1], room=3, amp=0.5) v2 >> play("k - ", pan=[1,-1], room=3, amp=0.7) @sequence def y6(): p1.stop() z3 >> charm(PRand([(0,2),(0,4),(0,2),(0,4)]), dur=[1,0.5,1], hpf=700, room=2, amp=0.7) @sequence def y9(): v2.stop() b1.stop() o2 >> sinepad([(0,4,2)], dur=4, sus=6, hpf=800, room=3, amp=0.7) z3 >> charm(PRand([(0,2),(0,4),(0,2),(0,4)]), dur=[1,0.5,], hpf=900, room=4, amp=0.5) z2 >> sinepad(P[(0,2),(0,4),(0,2),(0,4)].stutter([2,4,2,4]), dur=[1,0.5], hpf=900, room=4, pan=(1,-1,1), amp=0.5, echo=2) @sequence def y8(): z3.stop() z2.stop() @sequence def y0(): o5 >> play('k k k ', amp=0.7) s1 >> play('x:') @sequence def a3(): m1 >> hoover(P[[0]*3+[6]*4+[0]*3+[4]*4], dur=[0.75]*2+[0.5], sus=[0.7,0.2,0.2], pan=0, room=4, mix=0.2, amp=0.3, hpf=600) o5 >> play('k k k ') @sequence def a4(): m1 >> hoover(P[[0]*3+[6]*4+[0]*3+[4]*4], dur=[0.75]*2+[0.5], sus=[0.7,0.2,0.2], pan=0, room=4, mix=0.2, amp=0.4, hpf=200) o1 >> play("m m ", dur=[0.5,1,0.5], sus=3, echo=4, amp=1, pan=(1,1,-1,-1)) @sequence def x3(): b2 >> play("X - - X - X - X ", pan=sinvar([-0.5,0.5],16)) m1 >> hoover(P[[0]*3+[6]*4+[0]*3+[4]*4], dur=[0.75]*2+[0.5], sus=[0.7,0.2,0.2], pan=(-1,1), room=4, mix=0.2, amp=0.5, hpf=200) @sequence def x4(): m1 >> hoover(var([[0]*3+[6]*4+[0]*3+[4]*4]), dur=[0.75]*2+[0.5], sus=[0.7,0.2,0.2], pan=(-1,1), room=4, mix=0.2, amp=0.8, hpf=200) @sequence def x7(): m1.stop() b2.stop() o1.stop() s1.stop() o2.stop() o5 >> play('k k k ', amp=1.3) @sequence def x8(): m1 >> hoover(var([[0]*3+[6]*4+[0]*3+[4]*4]), dur=[0.75]*2+[0.5], sus=[0.7,0.2,0.2], pan=(-1,1), room=4, mix=0.2, amp=0.8, hpf=200) b2 >> play("X - - X - X - X ", pan=sinvar([-0.5,0.5],16)) o1 >> play("m m ", dur=[0.5,1,0.5], sus=3, echo=4, amp=1, pan=(1,1,-1,-1)) s1 >> play('x:') o2 >> sinepad([(0,4,2)], dur=4, sus=6, hpf=800, room=3, amp=0.7) @sequence def a6(): o5.stop() b2.stop() @sequence def a7(): d1.stop() m1 >> hoover(P[[0]*3+[6]*4+[0]*3+[4]*4], dur=[0.75]*2+[0.5], sus=[0.7,0.2,0.2], pan=(-1,1), room=4, mix=0.2, amp=1, hpf=300) @sequence def a8(): m1 >> hoover(var([[0]*3+[6]*4+[0]*3+[4]*4]), dur=[0.75]*2+[0.5], sus=[0.7,0.2,0.2], pan=(-1,1), room=4, mix=0.2, amp=0.5, hpf=500) o2.stop() @sequence def a9(): m1 >> hoover(P[[0]*3+[6]*4+[0]*3+[4]*4], dur=[0.75]*2+[0.5], sus=[0.7,0.2,0.2], pan=(-1,1), room=4, mix=0.2, amp=0.3, hpf=700) o1 >> play("m m ", dur=[0.5,1,0.5], sus=3, echoe=5, amp=0.7, pan=(1,1,-1,-1)) @sequence def x5(): o1 >> play("m m ", dur=[0.5,1,0.5], sus=3, echoe=5, amp=0.5, pan=(1,1,-1,-1)) @sequence def x6(): m1.stop() @sequence def fin(): Clock.clear() start = Clock.mod(8) - 0.1 Clock.schedule(a1, start) start = start + 14 Clock.schedule(z0, start) start = start + 14 Clock.schedule(z1, start) start = start + 32 Clock.schedule(y1, start) start = start + 14 Clock.schedule(y2, start) start = start + 14 Clock.schedule(y3, start) start = start + 4 Clock.schedule(y4, start) start = start + 16 Clock.schedule(x1, start) start = start + 24 Clock.schedule(y5, start) start = start + 16 Clock.schedule(x2, start) start = start + 24 Clock.schedule(a2, start) start = start + 24 Clock.schedule(y6, start) start = start + 16 Clock.schedule(y9, start) start = start + 24 Clock.schedule(y8, start) start = start + 14 Clock.schedule(y0, start) start = start + 14 Clock.schedule(a3, start) start = start + 4 Clock.schedule(a4, start) start = start + 24 Clock.schedule(x3, start) start = start + 24 Clock.schedule(x4, start) start = start + 24 Clock.schedule(x7, start) start = start + 4 Clock.schedule(x8, start) start = start + 14 Clock.schedule(x7, start) start = start + 4 Clock.schedule(x8, start) start = start + 14 Clock.schedule(a6, start) start = start + 18 Clock.schedule(a7, start) start = start + 14 Clock.schedule(a8, start) start = start + 20 Clock.schedule(a9, start) start = start + 14 Clock.schedule(x5, start) start = start + 14 Clock.schedule(x6, start) start = start + 10 Clock.schedule(fin, start) ``` * Rafaël ```python= a1 >> ... ``` * Emma ```python= a1 >> ... ``` * Fabian ```python= a1 >> ... ``` * Léo ```python= a1 >> ... ``` * Alexandre ```python= def sequence(f): f() return f #INTRO @sequence def vocal_01(): v1 >> loop ('avoc01',var(P[:180]/2,1/2,start=now),dur=1/2) @sequence def bass_01(): b1 >> filthysaw((0),oct=3,dur=4,sus=4,room=5,lpf=800,amp=linvar([0,0.5],[32,inf],start=now)) @sequence def percu_01(): h4 >> play(" E ",sample=2,amp=0.1,room=1,rate=-1) @sequence def percu_02(): h1 >> play(" -") @sequence def percu_03(): h2 >> play(" - - - --- ",room=2,sample=3,amp=0.4) @sequence def percu_04(): h3 >> play("[--]",room=0,sample=4,amp=0.05) #preDROP @sequence def predrop_01(): v1.amp=linvar([1,0],[4,inf],start=now) @sequence def predrop_02(): l1 >> rlead (P[0,0.5,-1.5,0],dur=P[3/4,3/4,1/2,2/1],sus=P[3/4,3/4,1/2,2/1],oct=4,amp=linvar([0,0.6],[4,inf],start=now)) @sequence def predrop_03(): v1 >> loop ('avoc01',var(P[159:167]/2,1/2,start=now),dur=1/2,amp=linvar([0,1],[24,inf],start=now),chop=2) #DROPvoice @sequence def drop_01(): c1 >> play("# ",amp=1.5,sample=3,room=1) v1 >> loop ('avoc01',var(P[159:167]/2,1/2,start=now),dur=1/2,amp=1,chop=2) k1 >> play("X ",sample=4,room=0.2,lpf=300) h1 >> play(" -",amp=0.8) h2 >> play(" - - - --- ",room=2,sample=3,amp=0.4) h3 >> play("[--]",room=0,sample=4,amp=0.05) h4 >> play(" E ",sample=2,amp=0.1,room=1,rate=-1) b1 >> filthysaw((0),oct=3,dur=4,sus=4,room=5,lpf=800,amp=0.5) @sequence def drop_02(): c1.stop() Clock.clear() #BREAK #DROPinstru #BREAK #DROP #OUTRO Clock.clear() .-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._. start = Clock.mod(8) - 0.1 Clock.schedule(vocal_01, start) start = start + 4 Clock.schedule(bass_01, start) start = start + 8 Clock.schedule(percu_01, start) start = start + 28 Clock.schedule(percu_02, start) start = start + 4 Clock.schedule(percu_03, start) start = start + 4 Clock.schedule(percu_04, start) start = start + 36 Clock.schedule(predrop_01, start) start = start + 8 Clock.schedule(predrop_02, start) start = start +8 Clock.schedule(predrop_03, start) start = start + 16 Clock.schedule(drop_01, start) start = start + 2 Clock.schedule(drop_02, start) ``` * Nouy ```python= seconds = Clock.seconds_to_beats Clock.bpm=142 phase1=Group(p6,p1,p2) phase2=Group(m1,p9,p1,p2,q1) def structure(f): f() return f @structure def a0(): Clock.bpm=142 p1 >> play ( "X_X_", dur =1/2,amp=0.5) p2 >> play ( "___-",amp=0.5,sample=7) p7 >> play("_______________---",dur=1/2,amp=0.5) @structure def a1(): p5 >> noquarter(dur=4,oct=4,amp=0.5,chop=2) @structure def a2(): p8 >> rsaw([0,1.5, 0.5,0,None],oct=4,amp=0.04,dur=2,lpf=1500) @structure def a3(): p3 >> angst(oct=4,dur=1/2,chop=1,amp=0.8, hpf=1000) @structure def a4(): p6 >> rlead([5,2,3,5.5,None,None],oct=[5],dur=1,chop=1,room=1,amp=0.3) @structure def a5(): p2 >> play("--",sample=7,room=1,dur=1/2,amp=0.2) p6 >> rlead([5,2,3,],oct=[5],dur=1/2,chop=1,room=1,amp=0.3) @structure def a6(): p9 >> loop ("petasse", dur=2).after(seconds(0.5),"stop") p2.stop() p6.stop() p3.stop() p8.stop() p1.stop() p7.stop() p5.stop() @structure def a7(): p1 >> play("V_V_", sample=2, amp=0.5, dur=1/2) p6 >> rlead([5,2,3,5.5],dur=1,chop=1,room=1,amp=0.3).every(4,"offadd",2) p7 >> play ("________---",dur=1/2,amp=0.5) p9.stop() @structure def a8(): p2 >> play("-_-",sample=7,room=1,dur=1/2,amp=0.2) p9 >> acidbass([5,2,None,None],dur=1,chop=1,amp=0.2,oct=2,lpf=1000).every(4,"offadd",2) @structure def a9(): p9 >> acidbass([5,2],dur=1/2,chop=1,amp=[0.2],oct=2,lpf=1000) @structure def b1(): q1 >> play ("P_").after(seconds(0.2),"stop") p6.stop() p1.stop() p9.stop() p2 >> play("_--",sample=7,room=1,amp=0.3) @structure def b2(): p6 >> hoover ([5,2,3,5.5],dur=1,chop=1,room=1,amp=0.3,oct=5).every(4,"offadd",2) p1 >> play("V_V_", sample=2, amp=0.5, dur=1/2) @structure def b3(): p6 >> hoover ([5,2,3,5.5],dur=1,chop=1,room=1,amp=0.3,oct=[5,6]).every(4,"offadd",2) p9 >> space([5,4.5,2,3,5.5],dur=[1/3,1/3,1/3,1],chop=1,room=1,amp=0.5,oct=[6,5]) @structure def b4(): phase1.lpf=[2000,1900,1800,1700,1600,1500,1400,1200,1100,1000,900,800,700,600,500,400,300,200,100,50,40,30,20,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] p5 >> noquarter(dur=4,oct=4,amp=[0.1,0.2,0.3,0.4,0.3,0.2,0.1,0],chop=2) @structure def b5(): phase1.stop() m1 >> wsawbass([1.5],oct=3,chop=1,amp=0.5,shape=0.2,lpf=1000) p5 >> noquarter(dur=4,oct=4,amp=[0.2,0.1,0.05,0,0.1],chop=2) @structure def b6(): p1 >> play("V_V_", sample=2, amp=0.5, dur=1/2) p5 >> noquarter(dur=4,oct=4,amp=[0.1,0.2,0.3,0.2,0.1,0.05,0,0.05],chop=2) @structure def b7(): q1 >> play ("P___") @structure def b8(): p6 >> rlead([5,2,3,5.5],dur=1,chop=1,room=1,amp=0.3).every(4,"offadd",2) phase2.lpf=[2000,1900,1800,1700,1600,1500,1400,1300,1200,1100,1000,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] @structure def b9(): phase2.stop() p2 >> play("-",amp=0.3,room=1) @structure def c1(): q1>>play("P___").after(seconds(0.2),"stop") Clock.bpm=162 @structure def c2(): p1 >> play("V_V_", sample=2, amp=0.5, dur=1/2) p2 >> play ("-f",amp=0.3,room=1) @structure def c3(): p7 >> hoover ([5,2,3,5.5,None,None,None,None],dur=1,chop=1,room=1,amp=0.3,oct=6).every(4,"offadd",2) p6 >> rlead([5,2,3,5.5],dur=1,chop=1,room=1,amp=0.3,oct=5).every(4,"offadd",2) p1 >> play("V_V|V6|", sample=8, amp=0.3, dur=1/2,shape=0.2) def c4(): p6 >> hoover ([5,2,3,5.5,None,None,None,None],dur=1,chop=1,room=1,amp=0.3,oct=6).every(4,"offadd",2) y1 >> play("--ox",amp=0.3,dur=1/2) q1 >> play("P___",amp=0.5) p7.stop() def c5(): q1.stop() p6.stop() p1 >> play ("XX|-3||-3|",dur=[1,1,1,1,2,2,2,2],shape=0.3,sample=0) p5 >> noquarter(dur=4,oct=4,amp=0.5,chop=2) def c6(): p9 >> space([5,4.5,2,3,5.5],dur=[1/3,1/3,1/3,1],chop=1,room=1,amp=0.5,oct=[6,5]) p5 >> noquarter(dur=4,oct=4,amp=0.5,chop=2,shape=0.1) def c7(): p1 >> play("V_V_", sample=6, amp=0.3, dur=1/2,shape=0.2) def c8(): p7 >> hoover ([5,2,3,5.5,None,None,None,None],dur=1,chop=2,room=1,amp=0.3,oct=6).every(4,"offadd",2) p1 >> play("V_V_", sample=2, amp=0.3, dur=1/2,shape=0.4) p9 >> space([5,4.5,2,3,5.5],dur=[1/3,1/3,1/3,1],chop=1,room=1,amp=0.5,oct=[6,5]) def c9(): p8 >> rsaw([0,1.5, 0.5,0,None],oct=4,amp=0.06,dur=2,lpf=1500,chop=1) def d1(): p9.stop() def d2(): y1.stop() def d3(): p2 >> play ("--",amp=0.2) p5 >> noquarter(dur=4,oct=4,amp=0.5,sus=2,room=1) def d4(): p1.stop() def d5(): p2.stop() def d6(): p8.stop() p7.stop() def d7(): p5.stop() Clock.clear() Clock.bpm=142 start = Clock.mod(8) - 0.1 Clock.schedule(a0, start + 0) Clock.schedule(a1, start + 8) Clock.schedule(a2,start + 16) Clock.schedule(a3, start + 32) Clock.schedule(a4,start + 40) Clock.schedule(a5,start + 56) Clock.schedule(a6,start+64) Clock.schedule(a7,start+65) Clock.schedule(a8,start+73) Clock.schedule(a9,start+89) Clock.schedule(b1,start+105) Clock.schedule(b2,start+106) Clock.schedule(b3,start+122) Clock.schedule(b4,start+138) Clock.schedule(b5,start+146) Clock.schedule(b6,start+154) Clock.schedule(b7,start+162) Clock.schedule(b8,start+174) Clock.schedule(b9,start+182) Clock.schedule(c1,start+198) Clock.schedule(c2,start+206) Clock.schedule(c3,start+228) Clock.schedule(c4,start+236) Clock.schedule(c5,start+252) Clock.schedule(c6,start+268) Clock.schedule(c7,start+284) Clock.schedule(c8,start+300) Clock.schedule(c9,start+308) Clock.schedule(d1,start+316) Clock.schedule(d2,start+324) Clock.schedule(d3,start+332) Clock.schedule(d4,start+340) Clock.schedule(d5,start+348) Clock.schedule(d6,start+356) Clock.schedule(d6,start+372) ``` * Lola ```python= def structure(f): f() return f @structure def a0(): n3 >> fmbass([4,(3,2),1,5], oct=(4), dur=4, sus=8, amp=0.8, tremolo=4, slide=0, shape=0.2) @structure def a1(): n5 >> bounce([4,1,3,2], oct=4, amp=0.8, pan=(1,-1), dur=(1,1,0.5), shape=[0,0,0,0,0,0,0,0.2]) @structure def a2(): n5 >> bounce([4,1,3,2], oct=4, amp=0.8, pan=(1,-1), dur=(1,1,0.5), shape=[0,0,0,0,0,0,0,0.4]) n8 >> benoit([2,0,0,3,2,2,5,4,0,2,2,1,3], dur=0.5, amp=0.2, lpf=1000, coarse=0, tremolo=0, oct=3, sus=1) @structure def a3(): n8 >> benoit([2,0,0,3,2,2,5,4,0,2,2,1,3], dur=0.5, amp=0.4, lpf=1000, coarse=0, tremolo=0, oct=3, sus=1) @structure def a4(): n8 >> benoit([2,0,0,3,2,2,5,4,0,2,2,1,3], dur=0.5, amp=0.6, lpf=1000, coarse=0, tremolo=2, oct=3, sus=1) n6 >> donk (P*([2,1,5,3]), oct=5, dur=0.5, shape=0.3, amp=0.3, lpf=3000) @structure def a5(): n8 >> benoit([2,0,0,3,2,2,5,4,0,2,2,1,3], dur=0.5, amp=0.8, lpf=1000, coarse=0, tremolo=2, oct=(3,4), sus=1) n6 >> donk (P*([2,1,5,3]), oct=5, dur=0.5, shape=0.3, amp=0.5, lpf=3000) @structure def a6(): n6.every(4, "stutter", 3) n8 >> benoit([2,0,0,3,2,2,5,4,0,2,2,1,3], dur=0.5, amp=0.8, lpf=1000, coarse=0, tremolo=2, oct=4, sus=1) @structure def a7(): n2 >> play("V ", amp=0.5, sample=0) @structure def a8(): n8 >> benoit([2,0,0,3,2,2,5,4,0,2,2,1,3], dur=0.5, amp=0.8, lpf=1000, coarse=0, tremolo=2, oct=4, sus=2) @structure def a9(): n8 >> benoit([2,0,0,3,2,2,5,4,0,2,2,1,3], dur=0.5, amp=0.7, lpf=1000, coarse=0, tremolo=2, oct=5, sus=1) n5.stop() @structure def b0(): n1 >> drone(P*([2,4,3,1]), dur=1, sus=2, oct=6, amp=0.2, tremolo=2) @structure def b1(): n8 >> benoit([2,0,0,3,2,2,5,4,0,2,2,1,3], dur=0.5, amp=0.8, lpf=1000, coarse=0, tremolo=2, oct=5, sus=2) @structure def b2(): n8 >> benoit([2,0,0,3,2,2,5,4,0,2,2,1,3], dur=0.5, amp=0.8, lpf=1000, coarse=0, tremolo=2, oct=(4,5), sus=2) n7 >> moogpluck([1,4,2,2], oct=(4,5), shape=0.4, amp=0.1, lpf=250, sus=2, coarse=2) @structure def b3(): n8 >> benoit([2,0,0,3,2,2,5,4,0,2,2,1,3], dur=0.5, amp=0.6, lpf=1000, coarse=0, tremolo=2, oct=(4,5), sus=2) n7 >> moogpluck([1,4,2,2], oct=(4,5), shape=0.4, amp=0.2, lpf=250, sus=2, coarse=1) @structure def b4(): n8 >> benoit([2,0,0,3,2,2,5,4,0,2,2,1,3], dur=0.5, amp=0.4, lpf=1000, coarse=0, tremolo=2, oct=(3,4), sus=2) n7 >> moogpluck([1,4,2,2], oct=(4,5), shape=0.6, amp=0.4, lpf=250, sus=2, coarse=1) n7.every(6,"stutter",2) @structure def b5(): n8 >> benoit([2,0,0,3,2,2,5,4,0,2,2,1,3], dur=0.5, amp=0.2, lpf=1000, coarse=0, tremolo=2, oct=3, sus=2) n7 >> moogpluck([1,4,2,2], oct=(4,5), shape=0.6, amp=0.6, lpf=250, sus=2, coarse=1) @structure def b6(): n7.every(3,"stutter",2) n1.stop() @structure def b7(): n8.stop() n5 >> bounce([4,1,3,2], oct=4, amp=0.8, pan=(1,-1), dur=(1,1,0.5), shape=[0,0,0,0,0,0,0,0.5]) @structure def b8(): n4 >> ebass(n3.pitch+[2,4,1], oct=(5,6), amp=0.2, shape=0, dur=0.5, sus=3) n7 >> moogpluck([1,4,2,2], oct=(4,5), shape=0.6, amp=0.4, lpf=250, sus=2, coarse=1) @structure def b9(): n7.stop() n4 >> ebass(n3.pitch+[2,4,1], oct=(5,6), amp=0.4, shape=0, dur=0.5, sus=3) @structure def c0(): n4 >> ebass(n3.pitch+[2,4,1], oct=(5,6), amp=0.4, shape=0.1, dur=0.5, sus=3) n2.stop() n6.stop() @structure def c1(): n2 >> play("- ", amp=0.5, sample=0) @structure def c2(): n4 >> ebass(n3.pitch+[2,4,1], oct=(5,6), amp=0.4, shape=0.15, dur=0.5, sus=3) n6 >> donk (P*([2,1,5,3]), oct=5, dur=0.5, shape=0.3, amp=0.6, lpf=3000) @structure def c3(): n4 >> ebass(n3.pitch+[2,4,1], oct=(5,6), amp=0.4, shape=0.2, dur=0.5, sus=3) n2 >> play("V ", amp=0.5, sample=1) @structure def c4(): n8 >> benoit([2,0,0,3,2,2,5,4,0,2,2,1,3], dur=0.5, amp=0.6, lpf=1000, coarse=0, tremolo=2, oct=4, sus=2) @structure def c5(): n6.every(4, "stutter", 3) @structure def c6(): n8 >> benoit([2,0,0,3,2,2,5,4,0,2,2,1,3], dur=0.5, amp=0.4, lpf=1000, coarse=0, tremolo=2, oct=(4,5), sus=2) @structure def c7(): n6.stop() @structure def c8(): n8.stop() n2.stop() @structure def c9(): n5.stop() @structure def d0(): n3.stop() @structure def d1(): n4.stop() Clock.clear() start = Clock.mod(8) - 0.1 Clock.schedule(a0, start + 0) Clock.schedule(a1, start + 16) Clock.schedule(a2, start + 32) Clock.schedule(a3, start + 48) Clock.schedule(a4, start + 64) Clock.schedule(a5, start + 80) Clock.schedule(a6, start + 96) Clock.schedule(a7, start + 112) Clock.schedule(a8, start + 128) Clock.schedule(a9, start + 144) Clock.schedule(b0, start + 160) Clock.schedule(b1, start + 176) Clock.schedule(b2, start + 192) Clock.schedule(b3, start + 208) Clock.schedule(b4, start + 224) Clock.schedule(b5, start + 240) Clock.schedule(b6, start + 256) Clock.schedule(b7, start + 272) Clock.schedule(b8, start + 288) Clock.schedule(b9, start + 304) Clock.schedule(c0, start + 320) Clock.schedule(c1, start + 336) Clock.schedule(c2, start + 352) Clock.schedule(c3, start + 368) Clock.schedule(c4, start + 384) Clock.schedule(c5, start + 400) Clock.schedule(c6, start + 416) Clock.schedule(c7, start + 432) Clock.schedule(c8, start + 448) Clock.schedule(c9, start + 464) Clock.schedule(d0, start + 474) Clock.schedule(d1, start + 478) ``` * Juliette ```python= a1 >> ... ``` * Mathieu ```python= Scale.default = Scale.justMinor Clock.bpm=130 def sequence(f): f() return f @sequence def sequence1(): print("sequence1") m3 >> bbass(P[0,0,0,0,2,0,2,0,0,3],dur=P[0.5,0.25,0.5].stutter([1,2,3]), oct=P[3],amp=0.8) @sequence def sequence2(): print("sequence2") m2 >> play ('x:', sample=[4,[0,1]],amp=0.4) @sequence def sequence3(): print("sequence3") k2 >> play ('<..*.>', sample=[2,[0,1]]) k1 >> play(".o", rate=8, sample=3,delay=Pvar([0.5,1],[4,2]), amp=1) @sequence def sequence4(): print("sequence4") #m4 >> ssaw(var([-5,0,3,2,0,(2,-5),0,3],[1,2,3,4]*2), dur=P[1,1,0.5,1], sus=1, oct=PRand([6,5,6]),amp=0.8, chop=[4]) m4 >> ssaw(dur=P[0.25].stutter([1,2,3]), oct=[4,5, 4, 5, 5], hpf=expvar([250, 700], [32, 32, 16, 8, 8]), hpr=expvar([0.30, 0.95], [16, [32, 32, 16, 8, 16, 32]]), amp=0.9,chop=1,root=5) @sequence def sequence5(): print("sequence5") m3 >> bbass(P[[0,3,-5],[-5,-2,2],[-2,2,5],[5,-4,0]],dur=P[0.5,0.25,0.5].stutter([1,2,3]),oct=P[[3,3,4],[4,3,3],[3,3,3],[3,4,3]],amp=0.8) #m4 >> ssaw(var([-5,0,3,2,0,(2,-5),0,3],[1,2,3,4]*2), dur=P[1,1,0.5,1], sus=1, oct=PRand([5,6,5]),amp=0.8, chop=[2]) m5 >> zap(var([-5,(3,0),(-2,2),(-4,0),-5,(5,2),(-2,2),(-4,0)],[0.5, [1, 0.5, 0.5,2,1,3]]),amp=[0.9],sus=0.5, dur=P[0.25].stutter([1,2,3]), oct=P[6,5], chop=0,cut=0,root=5).penta() @sequence def sequence6(): print("sequence6") m4>> ssaw([0]+ var([2, 3], [2, [2, 2]]) ,dur=P[0.25].stutter([1,2,3]), oct=[4,5, 4, 5, 5], hpf=expvar([250, 1000], [32, 32, 16, 8, 8]), hpr=expvar([0.25, 0.75], [16, [32, 32, 16, 8, 16, 32]]), amp=1,root=5, chop=1) m5 >> zap(var([-5,(3,0),(-2,2),(-4,0),-5,(5,2),(-2,2),(-4,0)],[0.5, [1, 0.5, 0.5,2,1,3]]),amp=[0.9],sus=0.5, dur=P[0.25].stutter([1,2,3]), oct=P[6,5], chop=0,cut=0,root=5).penta() @sequence def sequence7(): print("sequence7") m3 >> bbass(P[0,0,0,0,2,0,2,0,0,3],dur=P[0.5,0.25,0.5].stutter([1,2,3]), oct=P[3],amp=0.3) ma >> mhpad(P[[0,3,-5],None,[-2,2,-7],None].stutter(P[4,3,2,1]*P[3,2,3]), dur=P[0.25,0.25,0.5,0.25], sus=P[0.2,0.2,0.3,0.2],oct=P[6,5,6],amp=0.1,delay=8) m5 >> zap(var([-5,(3,0),(-2,2),(-4,0),-5,(5,2),(-2,2),(-4,0)],[0.5, [1, 0.5, 0.5,2,1,3]]),amp=[0.9,0],sus=0.5, dur=P[0.25].stutter([1,2,3]), oct=P[6,5], chop=0,cut=0,root=5).penta() m4.stop() @sequence def sequence8(): print("sequence8") ma.stop() m3 >> bbass(P[[0,3,-5],[-5,-2,2],[-2,2,5],[5,-4,0]],dur=P[0.5,0.25,0.5].stutter([1,2,3]),oct=P[[3,3,4],[4,3,3],[3,3,3],[3,4,3]],amp=0.8) m1 >> mhpad(P[(0,3,7),(7,-2,2),(-2,2,5),(5,-4,0)].stutter(P[4,3,2,1]*P[3,2,3]), dur=P[0.25,0.25,0.5,0.25], sus=P[0.2,0.2,0.3,0.2],oct=P[(6,5,5),(5,6,5),(6,5,6),(5,6,6)],amp=0.1,room=1, mix=0.5,chorus=0,octafuz=0) m5.amp=[0.9] @sequence def sequence9(): print("sequence9") m5.stop() m1 >> mhpad(P[[0,3,-5],None,[-2,2,-7],None].stutter(P[4,3,2,1]*P[3,2,3]), dur=P[0.25,0.25,0.5,0.25], sus=P[0.2,0.2,0.3,0.2],oct=P[6,5,6],amp=0.1,chorus=0,octafuz=0) m3 >> bbass(P[0,0,0,0,2,0,2,0,0,3],dur=P[0.5,0.25,0.5].stutter([1,2,3]), oct=P[3],amp=0.8) #m6 >> pbass(P[7,5,2,0,8,10,3].stutter([1,2,3,4]*P[3,2,0]), dur=P[1,1,0.5,1].stretch(4), sus=1, oct=P[7,6,5,6,7,5,6],amp=0.7, chop=[0]).solo(0) m6 >> pbass(P[var([P[7,5,2,0,8,10,3].stutter([1,2,3,4]*P[3,2,0]),[4]])], dur=P[0.5].stutter([1,2,3]), sus=0.5, oct=[4]+ var([1, 0,1], [3, [1, 1,2]]),amp=0.6, chop=[1],cut=0.5,root=5,lofi=0.9,octafuz=0.2) @sequence def sequence10(): print("sequence10") m3 >> bbass(P[[0,3,-5],[-5,-2,2],[-2,2,5],[5,-4,0]],dur=P[0.5,0.25,0.5].stutter([1,2,3]),oct=P[[3,3,4],[4,3,3],[3,3,3],[3,4,3]],amp=0.8) m1 >> mhpad(P[(0,3,7),(7,-2,2),(-2,2,5),(5,-4,0)].stutter(P[4,3,2,1]*P[3,2,3]), dur=P[0.25,0.25,0.5,0.25], sus=P[0.2,0.2,0.3,0.2],oct=P[(6,5,5),(5,6,5),(6,5,6),(5,6,6)],amp=0.1,room=1, mix=0.5,chorus=0,octafuz=0) m5 >> zap(var([-5,(3,0),(-2,2),(-4,0),-5,(5,2),(-2,2),(-4,0)],[0.5, [1, 0.5, 0.5,2,1,3]]),amp=[0.9],sus=0.3, dur=P[0.25].stutter([1,2,3]), oct=P[6,5], chop=0,cut=0,root=5).penta() #m5 >> glitchbass(var([-5,(3,0),(-2,2),(-4,0),-5,(7,2),(-2,2),(-4,0)]),amp=0.7, dur=[1,0.5,0.5,0.5,1,0.5], sus=0.5, oct=6, chop=1) m6 >> pbass(P[7,5,2,0,8,10,3].stutter([1,2,3,4]*P[3,2,0]), dur=P[1,1,0.5,1].stretch(4), sus=1, oct=[4]+ var([1, 0,1], [3, [1, 1,2]]),amp=0.7, chop=[0],cut=0.5,root=5,lofi=0.9,octafuz=0.2).solo(0) @sequence def sequence11(): print("sequence11") m3 >> bbass(P[0,0,0,0,2,0,2,0,0,3],dur=P[0.5,0.25,0.5].stutter([1,2,3]), oct=P[3],amp=0.8) m1 >> mhpad(P[[0,3,-5],None,[-2,2,-7],None].stutter(P[4,3,2,1]*P[3,2,3]), dur=P[0.25,0.25,0.5,0.25], sus=P[0.2,0.2,0.3,0.2],oct=P[6,5,6],amp=0.1) m6.chop=[1,2] @sequence def sequence12(): print("sequence12") m6.chop=[2,1] m5.stop() m1 >> rlead(var([(0,3,7),(7,-2,2),(-2,2,5),(5,-4,0)]), dur=P[1,1,1,0.5], sus=0.5,oct=P[5],amp=0.1,room=1, mix=0.5) m3 >> bbass(P[[0,3,-5],[-5,-2,2],[-2,2,5],[5,-4,0]],dur=P[0.5,0.25,0.5].stutter([1,2,3]),oct=P[[3,3,4],[4,3,3],[3,3,3],[3,4,3]],amp=0.8) b4 >> play(Pvar([".c","ccc"],[8,4]), rate=Pvar([3,2],[8,4]),sample=2,amp=Pvar([0.3,0.4],[8,4])) @sequence def sequence13(): print("sequence13") m3 >> bbass(P[0,0,0,0,2,0,2,0,0,3],dur=P[0.5,0.25,0.5].stutter([1,2,3]), oct=P[3],amp=0.8) m1 >> rlead(var([(0,3,7),(7,-2,2),(-2,2,5),(5,-4,0)]), dur=P[1,1,1,0.5], sus=0.5,oct=P[6,5],amp=0.1,room=1, mix=0.5) @sequence def sequence14(): print("sequence14") m6.stop() m1 >> rlead(var([(0,3,7),(7,-2,2),(-2,2,5),(5,-4,0)]), dur=P[1,1,1,0.5], sus=0.5,oct=P[5],amp=0.1,room=1, mix=0.5) #m4 >> dirt(var([-5,0,3,2,0,(2,-5),0,3],[1,2,3,4]*2), dur=P[1,1,0.5,1], sus=1, oct=PRand([7,6,7]),amp=0.8, chop=[4]) m4>> ssaw([0]+ var([2, 3], [2, [2, 2]]) ,dur=P[1,1,0.5,1], oct=[4,5, 4, 5, 5], hpf=expvar([250, 1000], [32, 32, 16, 8, 8]), hpr=expvar([0.25, 0.75], [16, [32, 32, 16, 8, 16, 32]]), amp=1,root=5, chop=1,sus=1) @sequence def sequence15(): print("sequence15") m1 >> rlead(var([(0,3,7),(7,-2,2),(-2,2,5),(5,-4,0)]), dur=P[1,1,1,0.5], sus=0.5,oct=P[6,5],amp=0.2,room=1, mix=0.5) #m4 >> dirt(var([-5,0,3,2,0,(2,-5),0,3],[1,2,3,4]*2), dur=P[1,1,0.5,1], sus=1, oct=PRand([6,7,6]),amp=0.8, chop=[2]) m4>> ssaw([0]+ var([2, 3], [2, [2, 2]]) ,dur=P[1,1,0.5,1], oct=[4,5, 4, 5, 5], hpf=expvar([250, 1000], [32, 32, 16, 8, 8]), hpr=expvar([0.25, 0.75], [16, [32, 32, 16, 8, 16, 32]]), amp=1,root=5, chop=2,sus=1) @sequence def sequence16(): print("sequence16") m1 >> rlead(var([(0,3,7),(7,-2,2),(-2,2,5),(5,-4,0)]), dur=P[1,1,1,0.5], sus=0.5,oct=P[5],amp=0.2,room=1, mix=0.5) #m5 >> dirt(var([-5,(3,5),(-2,0),(-4,0),-5,(7,-2),(-2,2),(-4,0)],P[1,2,3]),amp=0.6, dur=0.5, sus=0.4, oct=7, chop=0).shuffle().every(8,"reverse") m5 >> zap(var([-5,(3,0),(-2,2),(-4,0),-5,(5,2),(-2,2),(-4,0)],[0.5, [1, 0.5, 0.5,2,1,3]]),amp=var([0,0.9],[1,2]),sus=0.5, dur=P[0.25].stutter([1,2,3]), oct=P[6,5], chop=0,cut=0,root=5).penta().solo(0) @sequence def sequence17(): print("sequence17") m3 >> bbass(Pvar([([2,2,2,2,5,2,5,2,2,7]),([0,0,0,0,2,0,2,0,0,3])],[4.25,4.25]),dur=P[0.5,0.25,0.5,0.5,0.25,0.5,0.5,0.25,0.5,0.5].stutter([1,2,3]),amp=0.8, oct=P[3]) m1 >> rlead(var([(0,3,7),(7,-2,2),(-2,2,5),(5,-4,0)]), dur=P[1,1,1,0.5], sus=0.5,oct=P[6,5],amp=0.1,room=1, mix=0.5) #m5 >> dirt(P[[0,3,7],[7,10,2],[10,2,5],[5,8,0]],dur=0.5, sus=0.5,oct=[7,6],amp=0.6) m5 >> zap(var([-5,(3,0),(-2,2),(-4,0),-5,(5,2),(-2,2),(-4,0)],[0.5, [1, 0.5, 0.5,2,1,3]]),amp=[0.9],sus=0.5, dur=P[0.25].stutter([1,2,3]), oct=P[6,5], chop=0,cut=0,root=5).penta() m4.chop=[4,2] @sequence def sequence18(): print("sequence18") m1 >> rlead(var([(0,3,7),(7,-2,2),(-2,2,5),(5,-4,0)]), dur=P[1,1,1,0.5], sus=0.5,oct=P[5],amp=0.1,room=1, mix=0.5) m4.amp=0 #m5 >> dirt(var([-5,(3,5),(-2,0),(-4,0),-5,(7,-2),(-2,2),(-4,0)],P[1,2,3]),amp=0.6, dur=0.5, sus=0.4, oct=7, chop=0).shuffle().every(8,"reverse") #m5 >> dirt(var([-5,(3,0),(-2,2),(-4,0),-5,(5,2),(-2,2),(-4,0)],[0.5, [1, 0.5, 0.5,2,1,3]]),amp=[0.6,0],sus=0.3, dur=P[0.25].stutter([1,2,3]), oct=P[6], chop=0,cut=0,root=5).penta() m5 >> zap(var([-5,(3,0),(-2,2),(-4,0),-5,(5,2),(-2,2),(-4,0)],[0.5, [1, 0.5, 0.5,2,1,3]]),amp=var([0.9,0],[0.25,[0.75]]),sus=0.5, dur=P[0.25].stutter([1,2,3]), oct=P[6], chop=0,cut=0,root=5).penta() @sequence def sequence19(): print("sequence19") m1 >> rlead(var([(0,3,7),(7,-2,2),(-2,2,5),(5,-4,0)]), dur=P[1,1,1,0.5], sus=0.5,oct=P[6,5],amp=0.1,room=1, mix=0.5) m5 >> zap(var([-5,(3,0),(-2,2),(-4,0),-5,(5,2),(-2,2),(-4,0)],[0.5, [1, 0.5, 0.5,2,1,3]]),amp=0.9,sus=0.3, dur=P[0.25].stutter([1,2,3]), oct=P[6,5], chop=0,cut=0,root=5).penta() @sequence def sequence20(): print("sequence20") m3 >> bbass(Pvar([([2,2,2,2,5,2,5,2,2,7]),([0,0,0,0,2,0,2,0,0,3])],[4.25,4.25]),dur=P[0.5,0.25,0.5,0.5,0.25,0.5,0.5,0.25,0.5,0.5].stutter([1,2,3]),amp=0.8, oct=P[3]) m1 >> rlead(var([(0,3,7),(7,-2,2),(-2,2,5),(5,-4,0)]), dur=P[1,1,1,0.5], sus=0.5,oct=P[5],amp=0.3,room=1, mix=0.5) #m6 >> dirt(P[7,5,2,0,8,10,3].stutter([1,2,3,4]*P[3,2,0]), dur=P[1,1,0.5,1].stretch(4), sus=1, oct=P[7,6,5,6,7,5,6],amp=0.7, chop=[2]) m6 >> pbass(P[7,5,2,0,8,10,3].stutter([1,2,3,4]*P[3,2,0]), dur=P[1,1,0.5,1].stretch(4), sus=1, oct=[4]+ var([1, 0,1], [3, [1, 1,2]]),amp=0.7, chop=[0],cut=0.5,root=5,lofi=0,octafuz=0.8) #m5 >> dirt(var([-5,(3,5),(-2,0),(-4,0),-5,(7,-2),(-2,2),(-4,0)],P[1,2,3]),amp=0.6, dur=0.5, sus=0.4, oct=7, chop=0).shuffle().every(8,"reverse") m5.amp=[0.9] @sequence def sequence21(): print("sequence21") m3 >> bbass(P[0,0,0,0,2,0,2,0,0,3],dur=P[0.5,0.25,0.5].stutter([1,2,3]), oct=P[3]) m1 >> rlead(var([(0,3,7),(7,-2,2),(-2,2,5),(5,-4,0)]), dur=P[1,1,1,0.5], sus=0.5,oct=P[6,5],amp=0.1,room=1, mix=0.5) #m6 >> dirt(P[7,5,2,0,8,10,3].stutter([1,2,3,4]*P[3,2,0]), dur=P[1,1,0.5,1].stretch(4), sus=1, oct=P[7,6,5,6,7,5,6],amp=0.7, chop=[2]) #m5 >> dirt(P[[0,3,7],[7,10,2],[10,2,5],[5,8,0]],dur=0.5, sus=0.5,oct=[7,6],amp=0.6) m5.amp=var([0.9,0],[8,[4]]) m5.solo(0) m6.chop=[2,4] @sequence def sequence22(): print("sequence22") m3 >> bbass(Pvar([([2,2,2,2,5,2,5,2,2,7]),([0,0,0,0,2,0,2,0,0,3])],[4.25,4.25]),dur=P[0.5,0.25,0.5,0.5,0.25,0.5,0.5,0.25,0.5,0.5].stutter([1,2,3]),amp=0.8, oct=P[3]) m1 >> rlead(var([(0,3,7),(7,-2,2),(-2,2,5),(5,-4,0)]), dur=P[1,1,1,0.5], sus=0.5,oct=P[5],amp=0.3,room=1, mix=0.5) m6.chop=[1,2] m5.amp=[0.9,0] @sequence def sequence23(): print("sequence23") m3.stop() m1 >> rlead(var([(0,3,7),(7,-2,2),(-2,2,5),(5,-4,0)]), dur=P[1,1,1,0.5], sus=0.5,oct=P[5],amp=0.6,room=1, mix=0.5) m6.chop=[1,2] m5.amp=0.7 v1 >> loop('swim1',var(P[:9],1,start=nextbar),amp=0.8).after(9, "stop") m4.amp=0 m2.amp=0 k1.amp=0 k2.stop() @sequence def sequence24(): print("sequence20") Clock.clear() @sequence def sequenceV0(): print("sequenceV0") v1 >> loop('swim1',var(P[:9],1,start=nextbar),amp=0.8,bend=0).after(9, "stop") @sequence def sequenceV1(): print("sequenceV1") v1 >> loop('swim2',var(P[:9],1,start=nextbar),amp=0.8,bend=0).after(9, "stop") @sequence def sequenceV2(): print("sequenceV2") v1 >> loop('swim3',var(P[:11],1,start=nextbar),amp=0.8,bend=0).after(11, "stop") Clock.clear() start = Clock.mod(4) - 0.1 Clock.schedule(sequence1, start) start = start + 16 Clock.schedule(sequence2, start) start = start + 8 Clock.schedule(sequence3, start) start = start + 16 Clock.schedule(sequence4, start) start = start + 32 Clock.schedule(sequence5, start) start = start + 32 Clock.schedule(sequence6, start) start = start + 48 Clock.schedule(sequence7, start) start = start + 6 Clock.schedule(sequenceV0, start) start = start + 16 Clock.schedule(sequence8, start) start = start + 32 Clock.schedule(sequence9, start) start = start + 32 Clock.schedule(sequence10, start) start = start + 32 Clock.schedule(sequence11, start) start = start + 4 Clock.schedule(sequenceV2, start) start = start + 32 Clock.schedule(sequence12, start) start = start + 32 Clock.schedule(sequence13, start) start = start + 16 Clock.schedule(sequence14, start) start = start + 16 Clock.schedule(sequence15, start) start = start + 16 Clock.schedule(sequence16, start) start = start + 44 Clock.schedule(sequence17, start) start = start + 32 Clock.schedule(sequence18, start) start = start + 4 Clock.schedule(sequenceV0, start) start = start + 32 Clock.schedule(sequence19, start) start = start + 4 Clock.schedule(sequenceV1, start) start = start + 32 Clock.schedule(sequence20, start) start = start + 4 Clock.schedule(sequenceV2, start) start = start + 32 Clock.schedule(sequence21, start) start = start + 32 Clock.schedule(sequence22, start) start = start + 32 Clock.schedule(sequence23, start) start = start + 16 Clock.schedule(sequence24, start) ``` * Sébastien ```python= def struct(f): f() return f @struct def a0(): print("a0") Clock.bpm=120 d1 >> play("[--][~]", sample=var([0,2],2),amp=0.6) b1 >> bass(var([3,2]), dur=PDur(3,8)*2, sus=1/2, cutoff=var([750,2000],16), delay=(0,0.5), oct=(5,[4,6]), amp=var([linvar([0.2,0.8],14,start=now),0],[14,2],start=now)) @struct def a1(): print("a1") b1.amp=var([0.8,0],[14,2],start=now) b1.pan=sinvar([-1,1],16) d2 >> play("<V >< E >", sample=var([2,3],2),rate=1, amp=linvar([0.2,0.6],[8,inf],start=now)) @struct def a2(): print("a2") d1 >> play("[--]~", sample=var([0,2],[14,2])) d2.spread(3) b1 >> sawbass(var([3,2]), dur=PDur(3,8)*2, sus=1/2, cutoff=var([750,2000],16), delay=(0,0.5), oct=(5,[4,6]), amp=var([0.8,0],[14,2])) @struct def a3(): print("a3") d2 >> play("<X >< (nb)H(l[hI])>", sample=var([1,2],[12,4]),rate=1) b1 >> bassguitar(var([3,2]), dur=PDur(3,8)*2, sus=1/2, cutoff=var([750,2000],16), delay=(0,0.5), oct=(5,[4,6]), amp=var([1,0],[14,2])) @struct def a4(): print("a4") d1.degree = "my" d1.sample=8 s7 >> mhping(P[5,7,6,8], oct=[4,6],chop=var([0,1],[7,1]), dur=[2,2,2,2,1,1,1,1]+8*[1/2], sus=[2,2,2,2,1,1,1,1]+8*[1/2], amp=0.7) @struct def a4b(): print("a4b") #s7 >> mhping(P[5,7,6,8], oct=[6,7],chop=var([0,1],[7,1]), dur=[2,2,2,2,1,1,1,1]+8*[1/2], sus=[2,2,2,2,1,1,1,1]+8*[1/2], amp=0.7) #s9 >> pasha(P[0,2,1,3]+var([0,3],4), oct=var([5,6],4),chop=var([0,1],[7,1]), dur=1/2, amp=sinvar([0.4,0.8],8)) s9 >> pasha(P[0,2,1,3]+var([0,3],4), oct=var([5,6],4),chop=var([0,0],[7,1]), dur=1/2, lpf=2000, amp=sinvar([0.6,1],8)) @struct def a5(): print("a5") s9.spread(2) s9.sus=var([3,2,1],[8,4,inf], start=now) s9.tremolo=1 s9.dur=var([2,1,1/2],[8,4,inf], start=now) s9.oct=5 Group(d2,s7,s9).solo() @struct def a6(): print("a6") s9.amp=var([0.5,0.2],8,stat=now) Group(d2,s7,s9).solo(0) s9.oct=var([5,6],4, start=now) s7 >> mhping(P[2,4,3,5]+var([0,3],4), oct=var([4,6],4),chop=var([0,1],[7,1]), dur=1/2) s9.stop() @struct def a7(): print("a7") #d1 >> play("[--]~", sample=var([0,2],[7,1]),amp=1.5) d1 >> play("[ss]-",rate=3/4,sample=0,hpf=linvar([800,6000],1),amplify=3/5) d2 >> play("<X >< (nb)H(l[hI])>", sample=var([1,2],[3,1]),rate=1,amp=linvar([1,1.8],[16,inf],start=now)) b1 >> bassguitar(var([3,4,2,1]), dur=PDur(3,8)*2, sus=1/2, cutoff=var([750,2000],16), lpf=1700, delay=(0,0.5), oct=(5,[4,6]), amp=var([0.8,0],[14,2])) #Group(d1,d2).solo() Group(d2,b1).solo() @struct def a8(): print("a8") Group(d2,b1).solo(0) #d2.solo(0) @struct def a9(): print("a9") s9.stop() b1 >> sawbass(var([3,4,2,1]), dur=PDur(3,8)*2, sus=1/2, cutoff=var([750,2000],16), lpf=1700, delay=(0,0.5), oct=(5,[4,6]), amp=var([0.8,0],[14,2])) b1.vib=2 @struct def a10(): print("a10") d1.degree = "my" d1.sample=8 b1.vib=0 b1 >> bassguitar(var([3,4,2,1]), dur=PDur(3,8)*2, sus=1/2, cutoff=var([750,2000],16), lpf=1700, delay=(0,0.5), oct=(5,[4,6]), amp=var([0.8,0],[14,2])) @struct def a11(): print("a11") s7.often("reverse") b1.pitch=5 @struct def a12(): print("a12") b1.pitch=var([3,4,2,1]) s7.sus=var([0.5,0.1],[16,8],start=now) s7.amp=var([1,1.5],[16,8],start=now) @struct def a13(): print("a13") b1.often("reverse") s7.often("reverse") Clock.bpm=122 @struct def a14(): print("a14") b1.pitch=5 @struct def a14b(): print("a14b") s7.pitch=P[0,7,2,7]+var([2,3],4) @struct def a15(): print("a15") Clock.bpm=124 d2 >> play("< (nb)G(K[eK])>", sample=var([0,1],[8,2],start=now),rate=[1,2], lpf=4000, amp=0.2) #d2 >> play("< (nb)P(k[ek])>", sample=var([0,3],8),rate=[1,2],amp=0.7) @struct def a16(): print("a16") Clock.bpm=126 s7.pitch=6 @struct def a17(): print("a17") s7.pitch=6 @struct def a18(): print("a18") d2.stop() @struct def a19(): print("a19") b1.stop() @struct def a20(): print("a20") s7.amp=linvar([1.3,0],[16,inf],start=now) @struct def a21(): print("a21") Clock.clear() Clock.clear() start = Clock.mod(8) - 0.1 Clock.schedule(a0, start +0) Clock.schedule(a1, start + 16); start=start+16; Clock.schedule(a2, start + 16); start=start+16; Clock.schedule(a3, start + 16) ; start=start+16; Clock.schedule(a4, start + 16); start=start+16; Clock.schedule(a4b, start + 8); start=start+8; Clock.schedule(a5, start + 16); start=start+16; Clock.schedule(a6, start + 16); start=start+16; Clock.schedule(a7, start + 24); start=start+24; Clock.schedule(a8, start + 32); start=start+32; Clock.schedule(a9, start + 16); start=start+16; Clock.schedule(a10, start + 16); start=start+16; Clock.schedule(a11, start + 32); start=start+32; Clock.schedule(a12, start + 16); start=start+16; Clock.schedule(a13, start + 32); start=start+32; Clock.schedule(a14, start + 16); start=start+16; Clock.schedule(a14b, start + 8); start=start+8; Clock.schedule(a15, start + 16); start=start+16; Clock.schedule(a16, start + 24); start=start+24; Clock.schedule(a17, start + 16); start=start+16; Clock.schedule(a18, start + 16); start=start+16; Clock.schedule(a19, start + 8); start=start+8; Clock.schedule(a20, start + 16); start=start+16; Clock.schedule(a21, start + 16); start=start+16; ```