114 lines
7.5 KiB
Python
114 lines
7.5 KiB
Python
Welcome to FoxDot! Press Ctrl+H for help.
|
|
-----------------------------------------
|
|
>>> Scale.default = Scale.minorPentatonic
|
|
... Root.default = "A"
|
|
... Clock.bpm = 140
|
|
>>> p2 >> dbass(dur=.5, oct=4, amp=.7)
|
|
... p1 >> pulse([0,1,2,3], amplify=var([1,0], [28,4]), sus=.5)
|
|
>>> x1 >> play("V ", dur=.5)
|
|
... x2 >> play(" |n2|", dur=.5)
|
|
>>> p1 >> pulse([0,1,2,3], amplify=1, chop=2, sus=.5)
|
|
>>> x3 >> play(" |*1|", dur=1)
|
|
>>> p1 >> pulse([0,1,2,3], sus=.25)
|
|
>>> ~p1 >> pulse([0,1,2,3], sus=.25)
|
|
>>> ~p1 >> pulse([0,1,2,3], sus=.5)
|
|
... p3 >> pulse(oct=4, dur=PDur(3,8), sus=5)
|
|
>>> p3 >> pulse(oct=4, dur=PDur(3,8), sus=.5)
|
|
>>> p3 >> pulse(oct=4, dur=PDur(3,8), hpf=linvar([120,4000]), chop=4, sus=.5)
|
|
>>> p3 >> pulse(oct=4, dur=PDur(3,8), hpf=linvar([120,4000]), chop=2, sus=.25)
|
|
>>> ~p3 >> pulse(oct=[4,6], dur=PDur(3,8), chop=2, sus=.25)
|
|
>>> ~p3 >> pulse(oct=[4,6], dur=PDur(3,8), chop=8, sus=.5)
|
|
>>> ~p3 >> pulse(oct=[4,6], dur=PDur(3,8), chop=8, sus=var([2,6]))
|
|
>>> ~p1 >> pulse([0,1,2,3], sus=.5, oct=[3,5])
|
|
>>> ~p1 >> pulse([0,1,2,3], sus=.25, oct=[3,5])
|
|
>>> x3 >> play(" **", sample=1, dur=1)
|
|
>>> x3 >> play(" [**]", sample=1, dur=1)
|
|
>>> x3 >> play(" *** [**]", sample=1, dur=1)
|
|
>>> x3 >> play("* * * [**]", sample=1, dur=1)
|
|
>>> x3 >> play(" [**]", sample=1, dur=1)
|
|
>>> x3 >> play(" *", sample=1, dur=1)
|
|
>>> ~p3 >> pulse(oct=4, dur=PDur(3,8), chop=4, sus=var([2,6]))
|
|
>>> ~p3 >> pulse(oct=4, dur=PDur(5,8), chop=4, sus=var([2,6]))
|
|
>>> p2 >> dbass(dur=[.5,1,.5,.5], oct=4, amp=.7).slider()
|
|
>>> ~p3 >> pulse(oct=4, dur=PDur(5,8), chop=8, sus=var([2,6]))
|
|
>>> ~p3 >> pulse(oct=[2,3], dur=PDur(5,8), chop=8, sus=var([2,6]))
|
|
>>> ~p1 >> pulse([0,2,4,6,8,10], sus=.5, oct=[3,5], chop=12, slide=linvar([0,.6]))
|
|
>>> ~p3 >> pulse(oct=[4,3], dur=PDur(5,8), chop=8, sus=var([2,6]))
|
|
>>> ~p3 >> pulse(oct=[4,3,2], dur=PDur(5,8), chop=8, sus=var([2,6]))
|
|
>>> x3 >> play(" s", sample=1, dur=1)
|
|
>>> x3 >> play("ss", sample=1, dur=1)
|
|
>>> x3 >> play("[ss]", sample=1, dur=1)
|
|
>>> x3 >> play("[sss]", sample=1, dur=1)
|
|
>>> x3 >> play("[ssss]", sample=1, dur=1)
|
|
>>> x3 >> play("[****]", sample=1, dur=1)
|
|
>>> x3 >> play("* * * [**]", sample=1, dur=1)
|
|
>>> x3 >> play("* * * [**] ", sample=1, dur=1)
|
|
>>> ~p3 >> pulse(oct=[4,3,2], dur=PDur(5,8)*(1,2), chop=8, sus=var([2,6]))
|
|
>>> ~p3 >> pulse(oct=[4,3,2], dur=PDur(5,8)*(1,2), chop=8, sus=var([3,8]))
|
|
>>> ~p1 >> pulse([0,2,4,6,8,10], sus=.5, oct=[3,5], chop=8, slide=linvar([0,.6]))
|
|
>>> ~p1 >> pulse([0,2,4,6,8,10], sus=.25, oct=[3,5], chop=4, slide=linvar([0,.6]))
|
|
>>> ~p3 >> pulse(oct=[4,3,2], dur=PDur(3,8)*(1,2), chop=8, sus=var([3,8]))
|
|
>>> p2 >> dbass(dur=PDur(3,8), oct=4, amp=.7).slider()
|
|
>>> ~p3 >> pulse(oct=[4,3,2], dur=PDur(7,8)|2, chop=8, sus=var([3,8]))
|
|
>>> ~p3 >> pulse(oct=[4,3,2], dur=PDur(7,8), chop=8, sus=var([3,8]))
|
|
... b1 >> dirt(oct=4, dur=PDur(5,6))
|
|
>>> ~p1 >> pulse([0,2,4,6,8,10], sus=.25, oct=[3,5], chop=4, slide=linvar([0,.6])).sometimes("stutter")
|
|
>>> ~p1 >> pulse([0,2,4,6,8,10], sus=.5, oct=[3,5], chop=4, slide=linvar([0,.6])).sometimes("stutter")
|
|
>>> ~p3 >> pulse(oct=[4,3,2], dur=PDur(5,8), chop=8, sus=var([3,8]))
|
|
>>> ~p3 >> pulse(oct=[4,3,2], dur=PDur(5,8), chop=12, sus=var([3,8]))
|
|
>>> x4 >> play(" s", dur=1)
|
|
>>> ~p1 >> pulse(P[0,2,4,6,8,10], sus=.5, oct=6, chop=4, slide=linvar([0,.6])).sometimes("stutter", 4)
|
|
>>> ~p1 >> pulse(P[0,2,4,6,8,10], sus=.5, oct=6, chop=8, slide=linvar([0,.6])).sometimes("stutter", 4)
|
|
>>> x4 >> play(" ss", dur=1)
|
|
>>> ~p3 >> pulse(oct=[4,3,2], dur=PDur(5,8), chop=12, sus=var([2,6]))
|
|
>>> c1 >> nylon(dur=PDur(5,8), sus=2, amp=.6, shape=PWhite(0,.5), pan=PWhite(-1,1)).sometimes("offadd", 4) + var([0,2],4)
|
|
>>> ~c1 >> nylon(dur=PDur(5,8), sus=2, amp=.6, pan=PWhite(-1,1)).sometimes("offadd", 4) + var([0,2],4)
|
|
>>> ~c1 >> nylon(dur=PDur(5,8), sus=1, amp=.6, pan=PWhite(-1,1)).sometimes("offadd", 4) + var([0,2],4)
|
|
>>> ~p3 >> pulse(var([0,2,.5], [3,.5,.5]), dur=PDur(5,8), amp=1.5, sus=.25, oct=6)
|
|
>>> ~p1 >> pulse(P[0,2,4,6,8,10], sus=.5, oct=5, chop=4, slide=linvar([0,.6])).sometimes("stutter", 4)
|
|
>>> ~p3 >> pulse(var([0,2,.5], [3,.5,.5]), dur=PDur(5,8), amp=1.5, sus=.25, oct=6, pan=[-1,1])
|
|
>>> ~p1 >> pulse(P[0,2,4,6,8,10], sus=.25, oct=5, chop=4, slide=linvar([0,.6])).sometimes("stutter", 4)
|
|
>>> ~p1 >> pulse(P[0,2,4,6,8,10], sus=.25, oct=5, chop=2, slide=linvar([0,.6])).sometimes("stutter", 4)
|
|
>>> ~p1 >> pulse(P[0,2,4,6,8,10], sus=.5, oct=5, chop=2, slide=linvar([0,.6])).sometimes("stutter", 4)
|
|
>>> ~p1 >> pulse(P[0,2,4,6,8,10], sus=.5, oct=[4,5], amp=1.2, chop=2, slide=linvar([0,.6])).sometimes("stutter", 4)
|
|
>>> ~p3 >> pulse(var([0,2,.5], [3,.5,.5]), dur=PDur(5,8), amp=1.5, sus=.25, oct=6, pan=[-1,1]).every(4, "dur.shuffle")
|
|
>>> ~c1 >> nylon(dur=PDur(5,8), sus=1, amp=.6).sometimes("offadd", 4) + var([0,2],4)
|
|
>>> ~c1 >> nylon(dur=PDur(5,9), sus=1, amp=.6).sometimes("offadd", 4) + var([0,2],4)
|
|
>>> ~c1 >> nylon(dur=PDur(5,9), sus=.5, amp=.6).sometimes("offadd", 4) + var([0,2],4)
|
|
>>> ~p1 >> pulse(P[0,2,4,6,8,10], sus=.5, oct=[3,4,5], amp=1.2, chop=2, slide=linvar([0,.6])).sometimes("stutter", 4)
|
|
>>> p2 >> dbass(dur=PDur(3,8), oct=3, amp=.7).slider()
|
|
>>> ~p1 >> pulse(P[0,2,4,6,8,10], sus=.5, oct=[3,4,5], amp=1.2, chop=6, slide=linvar([0,.6])).sometimes("stutter", 4)
|
|
>>> ~p1 >> pulse(P[0,2,4,6,8,10], sus=.5, oct=[3,4,5], amp=1.2, chop=[1,4], slide=linvar([0,.6])).sometimes("stutter", 4)
|
|
>>> ~p1 >> pulse(P[0,2,4,6,8,10], sus=.5, oct=[3,4,5], amp=1.2, chop=[2,1,4], slide=linvar([0,.6])).sometimes("stutter", 4)
|
|
>>> b1 >> dirt(oct=4, dur=PDur(5,8)*4, amp=1.2)
|
|
>>> p2 >> dbass(dur=PDur(3,8), oct=4, amp=.5).slider()
|
|
>>> p2 >> dbass(dur=PDur(5,8), oct=4, amp=.5).slider()
|
|
>>> b1 >> dirt(oct=4, dur=PDur(5,8)*(1,), amp=1.2)
|
|
>>> b1 >> dirt(oct=4, dur=PDur(5,8)*(1,2), amp=1.2)
|
|
>>> b1 >> dirt(oct=4, dur=PDur(5,8)*(1,), amp=1.2)
|
|
>>> b1 >> dirt(oct=4, dur=PDur(5,8)*(1,2), amp=1.2)
|
|
>>> ~p3 >> pulse(var([0,2,.5], [3,.5,.5]), dur=PDur(7,8), amp=1.5, sus=.5, oct=6, pan=[-1,1]).every(4, "dur.shuffle")
|
|
>>> ~p3 >> pulse(var([0,2,.5], [3,.5,.5]), dur=PDur(7,8), amp=1.5, sus=.25, oct=[6,7], pan=[-1,1]).every(4, "dur.shuffle")
|
|
>>> ~b1 >> dirt(dur=PDur(5,8), sus=1, oct=5, chop=2, amp=.3, shape=PWhite(0,.5), pan=PWhite(-1,1)).sometimes("offadd", 4) + var([0,2],4)
|
|
>>> ~b1 >> dirt(dur=PDur(5,8), sus=1, oct=5, chop=2, amp=1.3, shape=PWhite(0,.5), pan=PWhite(-1,1)).sometimes("offadd", 4) + var([0,2],4)
|
|
>>> ~p3 >> pulse(var([0,2,.5], [3,.5,.5]), dur=PDur(7,8), amp=1.5, sus=.25, oct=[5,3], pan=[-1,1]).every(4, "dur.shuffle")
|
|
>>> ~c1 >> nylon(dur=PDur(5,8), formant=PRand(8)[:8], rate=PRand(5,10)[:8])
|
|
>>> x4 >> play(" s", dur=1)
|
|
>>> ~p3 >> pulse(var([0,2,.5], [3,.5,.5]), dur=PDur(7,8)*(1,2), amp=1.5, sus=.25, oct=[5,3], pan=[-1,1]).every(4, "dur.shuffle")
|
|
>>> ~p3 >> pulse(var([0,5,2,[3,6]],[8,6,2,1]), sus=.5, dur=PDur(5,8)*(1,2))
|
|
>>> x4 >> play(" s s", dur=1)
|
|
>>> x4 >> play(" s [ss] ", dur=1)
|
|
>>> f1 >> blip(var(P[2:10]), amp=2, dur=PDur(3,8), oct=6)
|
|
>>> f1 >> blip(var(P[2:10]), amp=1.5, dur=PDur(3,8), oct=6)
|
|
>>> f1 >> blip(var(P[2:10]), amp=1.5, dur=PDur(3,8), oct=6).penta()
|
|
>>> ~c1 >> nylon(([3,4,5,4],7,[9,9,9]), dur=2, spin=8, tremolo=4, room=1, amp=1)
|
|
>>> ~p1 >> pulse(P[1,0,1,0,1,0,0,1,2,0], amp=1.5, sus=.5, dur=PDur(5,8)*4)
|
|
>>> ~b1 >> dirt(dur=PDur(5,8), sus=1, oct=5, chop=2, amp=.6, shape=PWhite(0,.5), pan=PWhite(-1,1)).sometimes("offadd", 4) + var([0,2],4)
|
|
>>> p2 >> dbass(dur=PDur(5,8), oct=4, amp=.5).stop()
|
|
>>> x3 >> play("* * * [**] ", sample=1, dur=1).stop()
|
|
>>> x2 >> play(" |n2|", dur=.5).stop()
|
|
>>> x4 >> play(" s [ss] ", dur=1).stop()
|
|
>>> ~p3 >> pulse(var([0,5,2,[3,6]],[8,6,2,1]), sus=.5, dur=PDur(5,8)*(1,2)).stop()
|
|
>>> f1 >> blip(var(P[2:10]), amp=1.5, dur=PDur(3,8), oct=6).solo()
|
|
>>> nextBar(Clock.clear)
|