Skip to content

Instantly share code, notes, and snippets.

@pLabarta
Created February 17, 2020 23:46
Show Gist options
  • Select an option

  • Save pLabarta/2bca80f97db96f81b942d41454600381 to your computer and use it in GitHub Desktop.

Select an option

Save pLabarta/2bca80f97db96f81b942d41454600381 to your computer and use it in GitHub Desktop.
c1 >> feel([3,3,4,5])
c2 >> glass([2,3,4],dur=4)
c3 >> star([8,7,8,5],dur=0.5,vol=0.3)
c4 >> play('=',dur=2,sus=1,[2,3,4])
c5 >> play(''[2,0,3,0])
i1>>zap(P[4, 2, 1, 4].every(4, 'shuffle'), amp=0.6, dur=[0.5])
i2>>charm(PxRand([0,1,2,3,4,5,6,7],inf), dur=PRhythm([2,(5,16)]))
i3>>ripple([1,2,3,4,5], amp=0.5 , dur=PRhythm([(5,8)]))
i2.stop()
Scale.default='minorPentatonic'
Scale.default.set("minorPentatonic", tuning=Tuning.just)
p1 >> blip([2,2,3,4],dur=[1/2],amp=[1/2,1],delay=P[0,0.25,0,0].every(4,'shuffle'))
print(SynthDefs)
i_all.only()
p1 >> dbass(P[0,1,2,5,4,2,1,0,1,0,-2,-3,-2,-3],tremolo=0,dur=P[6,1,1,3,3,1,1,6,1,1,3,3,1,1],sample=1)
p1.solo()
d1 >> play('XOXO(O )',dur=[2,PEuclid(5,16)],amp=1,sample=2,pan=0)
Clock.bpm = 120
Root.default =-2
Scale.default = 'minor'
zz >> pasha(p1.degree[0],dur=4,coarse=4)
zz.solo()
bl >> play('{b[bb] }',dur=1,pshift=PRand([2,3]),sample=4)
trims = var([7,16],4)
b1 >> jbass(var([0,[-1,-2]],4),dur=PDur(int(trims),16),chop=0,drive=0.2,hpf=333,amp=PRand([0.4,0.5,0.7]),delay=(PRand([0,0.5])),echo=PRand([0,0.5,0.25]),oct=PwRand([4,5,6,7],[1,3,21])[:int(trims)],cut=var([0,0.7],8)) + i2.pitch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment