alda

WE'VE MOVED! Join us at: http://slack.alda.io
dave 2016-07-18T04:40:31.000002Z

https://github.com/alda-lang/alda <-- just released v1.0.0-rc21, which includes an exciting new feature, variables! here's a silly example showing how to use them in an alda score:

(tempo! 160)

riffA = f8 f g+ a &gt; c c d c &lt;
riffB = b-8 b- &gt; c+ d f f g f &lt;
riffC = &gt; c8 c d+ e g g a g &lt;
riffD = f8 f g+ a &gt; c c d &lt; b &gt; | c c &lt; b- b- a a g g

rockinRiff = [
  riffA*4
  riffB*2 riffA*2
  riffC riffB riffD
]

electric-guitar-distorted "guitar": o2
tenor-saxophone "sax": o3

guitar/sax:
  rockinRiff*8

🙌 1