Skip to content

Instantly share code, notes, and snippets.

@NaoY-2501
Last active October 31, 2019 13:15
Show Gist options
  • Select an option

  • Save NaoY-2501/ca5f3073b73dcd2d80d4c13f3a305aac to your computer and use it in GitHub Desktop.

Select an option

Save NaoY-2501/ca5f3073b73dcd2d80d4c13f3a305aac to your computer and use it in GitHub Desktop.
# Chillhopっぽい感じを目指したつもり
Clock.bpm = 99
Scale.default = "major"
print(Scale.default)
bd >> play("x X", dur=[0.5])
hh >> play(" -- o ", dur=[0.5, 0.5])
print(SynthDefs)
p1 >> pads(P[(7, 5), (4, 2), (9, 7), (11, 9), (0, 2)], dur=[1, 2.5, 2, 1.5, 1])
c1 >> play("*", dur=[8])
print(Scale.default)
print(SynthDefs)
b1 >> sawbass([5, 2, 7, 9, 2], dur=[1, 2.5, 2, 1.5, 1], amp=0.8)
print(Scale.default)
print(SynthDefs)
v1 >> viola([5, 7, 2], dur=[1, 2, 1.5], amp=0.6)
c1.stop()
hh.stop()
c1.stop()
p1.stop()
v1.stop()
b1.stop()
bd.stop()
Clock.bpm = 101
k1 >> play("x ", amp=1.5)
s1 >> play(" u ")
ch >> play(" - -", dur=4)
oh >> play("=", dur=8)
print(Scale.default)
print(SynthDefs)
sw >> swell([2, 5, 6])
sw.stop()
b1 >> bass([2, 5, 7, 9], amp=.5)
k1 >> keys([(4, 2), (9, 11), (7, 5), (0, 2)], dur=[1.2, 1.2, 1.4, 1.2], pan=[-1, 1]).every(2, 'reverse')
c1 >> creep([1], dur=16)
c1.stop()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment