Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
livecode_club:start [2023/12/01 17:09] emoc [Livecode Club] |
livecode_club:start [2024/04/18 23:07] (Version actuelle) emoc |
||
---|---|---|---|
Ligne 166: | Ligne 166: | ||
p1 >> play ("rugeuse_limace", amp=2) | p1 >> play ("rugeuse_limace", amp=2) | ||
p1.stop() | p1.stop() | ||
+ | </code> | ||
+ | </panel> | ||
+ | </accordion> | ||
+ | |||
+ | |||
+ | ===== Session 2 : 21 décembre 2023 ===== | ||
+ | |||
+ | <accordion> | ||
+ | <panel title="20231221_livecode_club_1.py (cliquer pour afficher le code)"> | ||
+ | <code python 20231221_livecode_club_1.py> | ||
+ | # Livecode Club #2 | ||
+ | # 6ril, alexis, Zemog, Glitcher, celise, emoc | ||
+ | # @flux, 21 dec 2023 | ||
+ | |||
+ | Clock.bpm = 120 | ||
+ | |||
+ | Clock.clear() | ||
+ | |||
+ | Clock.time_signature = (7,4) | ||
+ | |||
+ | Scale.default = "yu" | ||
+ | |||
+ | a1 >> play ("x-o", sample=[0,1,2]) | ||
+ | a1. stop () | ||
+ | |||
+ | |||
+ | c1 >> play("X x X X x",pshift=PRand([-10,1]), room=PRand([1,30]), pan=PRand([-1,1]), rate=PRand([-10,1])) | ||
+ | c1.stop() | ||
+ | c2 >> play("groove", amp=1, bend=0.5, echo=5) | ||
+ | c2.stop() | ||
+ | c3 >> play("h Hh", bend =linvar([-5,5]),echo=linvar([-25,25]) | ||
+ | c3.stop() | ||
+ | c4 >> spark([2,5,5,6], dur=[1/2, 1/4, 1/4, 2], amp=1, slide=1, bend =linvar([-5,5]), echo=linvar([-25,25]), room=15) | ||
+ | c4.stop() | ||
+ | c5 >> play("tsoin-tsoin", amp=0.3) | ||
+ | c5.stop() | ||
+ | c6 >> play("CoDe", amp=linvar([0.1,0.5]), pshift=PRand(-3,5), room=linvar([1,20]), pan=PRand([-1,1])) | ||
+ | c6.stop() | ||
+ | c7 >> play("<X >< x>",pshift=PRand(-3,5), room=linvar([1,30]), pan=PRand([-1,1]), chop=5, rate=0.5) | ||
+ | c7.stop() | ||
+ | c8 >> bass(amp=0.5, echo=PRand([-1,5]).follow(c1) | ||
+ | c_all.stop() | ||
+ | |||
+ | e3 >> play("ho(iX)", rate=[0.1, 0.2, 0.1, 0.05, 0.3, 0.6], amp=[0.4,0.3,0.7], chop=(1, 5, 32)) | ||
+ | e3.stop() | ||
+ | e1 >> play("lesporteslogiques", sample=PRand(8), rate=0.4, amp=0.6, lpr=linvar([0.1,1],12)) | ||
+ | e1.stop() | ||
+ | e2 >> dirt([1, 6, 3, 4], oct=5, amp=0.5, dur=8, rate=0.2, formant=PRand(8)[:8], lpf=linvar([2000,6000],32)).every(5, "trim", 2) | ||
+ | e2.stop() | ||
+ | e4 >> play("(Xo) ", amp=0.4).every(3, "bubble") | ||
+ | e4.stop() | ||
+ | e5 >> play("regarde, tout est sur le wiki", amp=0.6) | ||
+ | e5.stop() | ||
+ | e6 >> play("X", amp=PRand(0, 1), lpf=expvar([300, 2000]) ) | ||
+ | e6.stop() | ||
+ | e7 >> pulse([0, 1, 3, 5, 7], amp=0.6, oct=PRand([1, 7]), pan=[-1, 1], chop=PRand([3,32]), room=linvar([1,30]), dur=[1/8, 1/4, 1/2, 2], formant=PRand(8)[:8], bend=linvar([-5,5])).every(3, "bubble") | ||
+ | e7.stop() | ||
+ | e8 >> play("@", amp=1, rate=2); | ||
+ | e8.stop() | ||
+ | e9 >> sawbass([0], chop=PRand([8, 16]), dur=2) | ||
+ | e9.stop() | ||
+ | f1 >> charm([1, 3, 5, 7], chop=2, oct=5, pan[-1, 1], shape=[0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.0]).every(4, "shuffle").every(2, "stretch", 6) | ||
+ | f1.every(3) | ||
+ | f1.stop() | ||
+ | f2 >> blip(P[:10:2][:8].rotate(-3) + PStep(8,[0,3]).rotate(), dur=1/2, sus=4, amp=0.2) | ||
+ | f2.stop() | ||
+ | |||
+ | e_all.stop() | ||
+ | |||
+ | z1 >> play("x-o-", sample=1, amp=3) | ||
+ | z4 >> space(P[P(0,4,7), P(0,4,6), P(0,4,5)], dur=5, amp=0.3) | ||
+ | z1.stop() | ||
+ | z2 >> jbass(P[7,6,5], amp=0.2) | ||
+ | z3.stop() | ||
+ | z3 >> bass(P[0,-1,-2,-3], dur=[2.5,2.5,2.5,2.5], amp=1) | ||
+ | z8 >> swell(P[0,1,2,P(4,6,8),7,8]) | ||
+ | z_all.stop() | ||
+ | |||
+ | |||
+ | |||
+ | g9 >> play("jj2j1j") | ||
+ | g9.stop() | ||
+ | |||
+ | y1 >> bass([0,2,3,4], dur=1/2, slide=0) | ||
+ | g1 >> varsaw(amp=0.3, oct=5).follow(y1) | ||
+ | |||
+ | y1.stop() ; g1.stop() | ||
+ | |||
+ | |||
+ | g6 >> gdirt([1, 34, 3, 4] | ||
+ | g6.stop() | ||
+ | |||
+ | g.9 >> | ||
+ | |||
+ | g9.stop() | ||
+ | |||
+ | |||
+ | a1 >> razz ([1, 2, 11, 0, 11, 00], reverb=10) | ||
+ | a1.stop() | ||
+ | a2 >> play ("x, xx, x ,XX ", amp=0.8) | ||
+ | |||
+ | |||
+ | g9 >> play("aaUUUuuuUUGHHH", rate=7) | ||
+ | g9.stop() | ||
+ | g10 >> play("rip le programme") | ||
+ | g10.stop() | ||
+ | s1 >> play("1, rate=1) | ||
+ | s1.stop() | ||
+ | s_all.stop() | ||
+ | |||
+ | g10 >> play("m,,m,m", rate=2) | ||
+ | g10 | ||
+ | </code> | ||
+ | </panel> | ||
+ | </accordion> | ||
+ | |||
+ | ===== Session 3 : 22 février 2024 ===== | ||
+ | |||
+ | <accordion> | ||
+ | <panel title="20240222_livecode_club_1.py (cliquer pour afficher le code)"> | ||
+ | <code python 20240222_livecode_club_1.py> | ||
+ | # Livecode Club #3 | ||
+ | # Julie, Karo, Bleuenn, Inès, Victor, Alex, emoc | ||
+ | # @flux, 22 février 2024 | ||
+ | |||
+ | Clock.bpm = 120 | ||
+ | Scale.default = "major" | ||
+ | |||
+ | Clock.clear() | ||
+ | |||
+ | p1 >> play("x x ") | ||
+ | p1.stop() | ||
+ | |||
+ | |||
+ | p2 >> play("X ") | ||
+ | p2.stop() | ||
+ | |||
+ | |||
+ | i1 >> play("m *") | ||
+ | i1.stop() | ||
+ | |||
+ | i2 >> bass ([3, 7, 16, 10], dur=[1,1,1,3], amp=[1], oct= [3]) | ||
+ | i2.stop() | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | k2 >> play ("k r o ") | ||
+ | |||
+ | k2.stop () | ||
+ | |||
+ | k3 >> play [" c e c i e s t d e l a m u s i q u e "] | ||
+ | |||
+ | k3.stop () | ||
+ | |||
+ | k4 >> play ["x x x x x x x x x x x x x " ] | ||
+ | |||
+ | k4.stop() | ||
+ | |||
+ | k5 >> play (" % % " ) | ||
+ | |||
+ | k5.stop() | ||
+ | |||
+ | k6 >> play (" a a @ A N @ @ @ Q Q \\\\ ") | ||
+ | |||
+ | k6.stop() | ||
+ | |||
+ | k7 >> klank ([1,2,3,4], dur=[6, 1, 1]) | ||
+ | |||
+ | k7.stop() | ||
+ | |||
+ | k7 >> space ([1,2,3,4,3,7,1,2], dur=[12, 7, 4], amp=[0.3,0.5,2]) | ||
+ | |||
+ | k7.stop() | ||
+ | |||
+ | k8 >> donk ([5,1,2,3,8,7,9], dur=[12, 1, 3], amp= [0.3,0.4,0.1]) | ||
+ | |||
+ | k8.stop() | ||
+ | |||
+ | v1 >> play("[--] [--] [----] ~") | ||
+ | v1.stop() | ||
+ | v2 >> play(" t t t [----]") | ||
+ | v2.stop() | ||
+ | v3 >> play("[vv][vv] ~", lpf=1220, drive) | ||
+ | v3.stop() | ||
+ | v4 >> sinepad([0, 3, 5, 4], dur=2) | ||
+ | v4.stop() | ||
+ | v5 >> pluck([12, 12, 10, 9, 7, 5, 3, 1, 0, 0, 1, 0], amp=0.8, dur=1/4) | ||
+ | v5.stop() | ||
+ | v6 >> pluck([0, 2, 3, 5, 0, 2, 3, 6, 0, 2, 3, 8, 10, 8, 10, 12], oct=6, amp=0.4, dur=1/4) | ||
+ | v6.stop() | ||
+ | v7 >> play(":::=::=[::]", echo=1/4, lpf=8000) | ||
+ | v7.stop() | ||
+ | v8 >> play("1 2 3 4 !", echo=1/1, room=100.0) | ||
+ | v8.stop() | ||
+ | v9 >> play(" r r r s") | ||
+ | v9.stop() | ||
+ | w1 >> saw(P[(0,2,4,12), (0,3,5,12), (2,4,6,14), (3,5,7,15)].stutter(4), dur=1, oct=2, amp=0.8, lpf=4800) | ||
+ | w1.stop() | ||
+ | w2 >> play("[--~-cvv-], [----], [------], [-VIsss-----]", echo=1/16, lpf=8000) | ||
+ | w2.stop() | ||
+ | w3 >> play("- - ") | ||
+ | w3.stop() | ||
+ | |||
+ | |||
+ | |||
+ | a1 >> play("(a )j") | ||
+ | a2 >> play("c (-(xy)) ([***] )") | ||
+ | a3 >> bug(P[(2,5,7),(3,6,8),(4,7,9),(4,7,9),(5,8,10),P(3,6,8)], dur=6, amp=0.5, chop=1.0, oct = 4) | ||
+ | a4 >> charm(P[:12].shuffle().stutter(3), dur=P[0.5], amp =1, scale=Scale.chinese, room=0.5) | ||
+ | a5 >> ripple(P[1,3,5,4,3,1,8] * [1,3], dur=[12], amp=1.0, oct = 3, slide=P[1,2,3]*[1,2]).every(2, "rotate") | ||
+ | a5.solo(0) | ||
+ | a_all.stop() | ||
+ | |||
+ | |||
+ | jl >> play("x-o|o2|-") | ||
+ | j1.stop() | ||
+ | |||
+ | e1 >> play("o [hh] ", amp=0.5) | ||
+ | e1.stop() | ||
+ | |||
+ | e3 >> play(" MO [HH] ", rate=3) | ||
+ | e3.stop() | ||
+ | |||
+ | e2 >> feel([0,2,3,4,5], oct=[3,4], amp=[0.3, 0.5, 0.7, 0.9], dur=1, chop=1) | ||
+ | e2.stop() | ||
+ | |||
+ | e4 >> lazer([0,1,2,4,7], oct=[1,2,3,4], rate=1, chop=[128, 32, 16, 64], dur=[1/4, 8, 2], slide=[2, 32, 16, 8, 4], echo=[1/2, 1/3, 1/5]) | ||
+ | e4.stop() | ||
+ | |||
+ | e5 >> play("([zz] o )( / )B", rate=[1, 2, -0.5], amp=0.5) | ||
+ | e5.stop() | ||
+ | |||
+ | e6 >> play("(X[xx]X XXXX)", amp=1) | ||
+ | e6 >> play("Xx", rate=1, hpf=[1000,3000]) | ||
+ | e6.stop() | ||
+ | |||
+ | e8 >> play("[goodbye]XXX[Xw]olrd[XXX]Xli[veco]deX[XXc]lllubXX[sdfkje]ztiu[cvn]sqdfpoier[ZAE]DFOVDFDLBDF", rate=[2,4, -2, 3, -6], chop=[32, 8, 64, 16, 1], dur=[1/16,1/8, 1/6, 1/7,2, 1/4, 1/3, 1/5, 1/32], amp=0.8, pshift=[-12, -24, 1, 48, 6], slide=32, echo=[1/8,1/2,1/3,1/5,1/4]) | ||
+ | e8.stop() | ||
+ | e_all.stop() | ||
+ | </code> | ||
+ | </panel> | ||
+ | </accordion> | ||
+ | |||
+ | ===== Session 4 : 21 mars 2024 ===== | ||
+ | |||
+ | {{https://lesporteslogiques.net/livecodeclub/20240321_livecodeclub_4.mp3}} \\ | ||
+ | (mp3 192kbps, enregistrement wav dispo) | ||
+ | |||
+ | ===== Session 5 : 18 avril 2024 ===== | ||
+ | |||
+ | {{:livecode_club:livecodeclub_5_ok.jpg?direct&300|}} | ||
+ | |||
+ | <accordion> | ||
+ | <panel title="20240418_livecode_club_5.py (cliquer pour afficher le code)"> | ||
+ | <code python 20240418_livecode_club_5.py> | ||
+ | # Livecode Club #5 | ||
+ | # Loula, Victor, emoc, Zemog, Auresha, JIl | ||
+ | # @flux, 18 avril 2024 | ||
+ | |||
+ | Clock.bpm = 20 | ||
+ | Scale.default.set("chromatic") | ||
+ | |||
+ | c1 >> play("[::::::::::::::::::::::]zz[::::::::::::::]", amp=0.5, echo=1/8.125, hpf=5600) | ||
+ | c1.stop() | ||
+ | c2 >> play(" I (IIII)") | ||
+ | c2.stop() | ||
+ | c3 >> play("[v:][vu][v:][vu] # ##", amp=0.8) | ||
+ | c3.stop() | ||
+ | c4 >> keys([0,2,3,5,7,8,9,10,12,13,17,18,20,21,22,24], amp=1, dur=6/4, lpf=120) | ||
+ | c4.stop() | ||
+ | c5 >> dbass([0,0,0,0,0,0,2,3,0,0,0,0,0,0,3,4,0,0,0,0,0,0,4,5,0,0,0,0,0,0,5,7], dur=1/8, amp=0.4, lpf=180) | ||
+ | c5.stop() | ||
+ | c6 >> | ||
+ | c6.stop() | ||
+ | c7 >> play("XX XX\\ ", spin=1/2, amp=0.8) | ||
+ | c7.stop() | ||
+ | c8 >> play(" \\ H ", spin=1, hpf=2200, amp=0.4) | ||
+ | c8.stop() | ||
+ | c9 >> sinepad(P[(3,5,7), (6,8,9), (5,7,8), (7,9,12)], dur=[1/2,1/4,1/2,4], amp=0.6, room=500) | ||
+ | c9.stop() | ||
+ | |||
+ | |||
+ | |||
+ | n1 >> bass([ 0, 0, 3, 4, 2, 0, 3, 2], amp=0.5, dur=1/2) | ||
+ | n2 >> spark ([1, 0, 2, 3, 4, 0, 2, 3, 5], dur=1/2) | ||
+ | n3 >> dirt ([ 0, 1, 3, 2],amp=0.5, dur=2) | ||
+ | |||
+ | n4 >> play("Xnoxxoon") | ||
+ | n5 >> bass ([1, 1, 1, 0, 1, 1, 3], amp=1, dur=1/2) | ||
+ | |||
+ | n6 >> glass([1, 1, 5, 2, 0, 4], amp=2, dur=1/4) | ||
+ | |||
+ | n5.stop() | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | a8 >> play("S") | ||
+ | |||
+ | a9 >> play("d", dur=0.5) | ||
+ | |||
+ | a7 >> play("h", dur=0.5) | ||
+ | |||
+ | a3 >> charm([0,5,6,0,0,P*(-1,-2,-3)], dur=0.5, oct=7, amp=0.5, glide=3, echo=4) | ||
+ | |||
+ | |||
+ | a8.stop() | ||
+ | a9.stop() | ||
+ | a7.stop() | ||
+ | a3.stop() | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | e1 >> play("eeX([ttt]ece)", amp=1.4) | ||
+ | e1 >> play("t( t)t(t[ttttt])", dur=1/2, amp=0.7, chop=4) #, bpf=linvar([100,8000]), sus=1)) | ||
+ | e1.stop() | ||
+ | |||
+ | e2 >> rave([0, 1, 2, 3, 4, 5, 6, 7], dur=[2, 2, 2, 1/4], oct=[3,6], amp=0.8, echo=1, echotime=4) | ||
+ | e2.stop() | ||
+ | |||
+ | e3 >> blip([5,5,4,P*(3,5),2], oct=7, dur=1, chop=8, echo=0.5, echotime=0.4, sus=2, amp=0.4).every(3, "bubble") | ||
+ | e3.stop() | ||
+ | |||
+ | e4 >> play("@", dur=1/8, bpf=PRand(400, 1600), slide=2, slideDelay=1/2, amp=PRand(1,2)) | ||
+ | e4.stop() | ||
+ | |||
+ | e5 >> play("X W ", amp=2) | ||
+ | e5.stop() | ||
+ | |||
+ | e6 >> play("fr", bpf=linvar([400, 1600])) | ||
+ | e6.stop() | ||
+ | |||
+ | e7 >> play("[ooo] [oooo] ", chop=8, bpf=1200, amp=0.6 ) | ||
+ | e7.stop() | ||
+ | |||
+ | e8 >> bass([0, 1, 3, P*[0,1]], oct=3, tremolo=8, dur=[2, 1/2, 1/4, 1], amp=1) | ||
+ | e8.stop() | ||
+ | |||
+ | e9 >> play("([###][##]#)", chop=PRand(2,32), dur=4, amp=3, slide=2, slideDelay=1/2, reverb=2, room=0.5, mix=0.4) | ||
+ | e9.stop() | ||
+ | |||
+ | e0 >> play("([@VBX/XBX%V%X@XX(X#)X][#XXX#YYY][Wxxx])") | ||
+ | e0.stop() | ||
+ | |||
+ | e_all.stop() | ||
+ | |||
+ | |||
+ | z1 >> play("{b } ") | ||
+ | z2 >> swell(P[P*(2,3,5), P*(0,4,7), P*(4,6,7)],oct=4, dur = 0.1) | ||
+ | z3 >> viola(P[0,0,3,0,5,0,7], dur = 0.2) | ||
+ | z4 >> bass(P[0], dur=20, amp=5) | ||
+ | z1.stop() | ||
+ | z2.stop() | ||
+ | z3.stop() | ||
+ | z4.stop() | ||
+ | |||
+ | print(z2) | ||
+ | |||
</code> | </code> | ||
</panel> | </panel> | ||
</accordion> | </accordion> | ||