Skip to content

Instantly share code, notes, and snippets.

@pLabarta
Created January 5, 2020 21:11
Show Gist options
  • Select an option

  • Save pLabarta/707efeecd84a79149bbb89ee4f2a0c6f to your computer and use it in GitHub Desktop.

Select an option

Save pLabarta/707efeecd84a79149bbb89ee4f2a0c6f to your computer and use it in GitHub Desktop.
## excelente
Scale.default='minorPentatonic'
x1 >> blip(PWalk(5)[:8],dur=PDur([2,3,[4,1],4],[8,8,4]), drive=0.1,
lpf=linvar([600,333],16), sus=x1.dur*1.5, oct=4) + var([(0,2),(2,4)],8)
x2.stop(0)
p2.stop()
print(Clock)
x2 >> play('RRRRrrrr', dur=PDur(3,4), pshift=P[1,3,5].mirror().every(3, 'rotate'), sample=var([1,2],4))
x3 >> pluck(P[0,1,0,1,0,3,0,4][0:8], dur=1/2, amp=1.3, echo=0.1,lpf=linvar([1000,500],8)).every(4,"rotate")
x4 >> pluck([0,2,1,-2],pshift=[0,6,-2,4],shape=2,dur=.5,amp=.7, lpf=linvar([1000,500],4) ).every(4,"rotate")
x5 >> dirt(var([0,2],4),dur=1/2, amp=[1.3,1.3,1.3,var([0,1],4)],shape=1)
rd >> play('se puso asiatica la ([cosa] lol)',dur=PDur([1,5],8),pshift=[0,5,4,2], sample=[1,2,3,4])
#lol
Group(c1,c2,c3,rd).solo(0)
p1 >> sawbass(var([0,3,1,2],4), dur=PDur([1,3],8),shape=0.2,drive=0.3)
p2 >> pads(x1.degree, delay=0, echo=.5,amp=0.5,dur=[4,1,1/2,2,1/2]) + var([0,1,-1,-2],[8,4,2,2])
c1 >> play("X-O(-[----][nnnn]*)")
c2 >> play(" * ", sample=P[1,2,3].shuffle())
c3 >> play("#", dur=16, rate=-1/2)
c4 >> play('{[bb]b }b',pshift=PRand(2),amp=PRand(1),sample=[0,3,3,0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment