Aratu music written to play, and to change while it plays

1. What kind of language it is

▶ Open in Aratu to hear and change the examples

Aratu is a declarative language: the text describes what sounds, not a list of orders carried out one after another. It belongs with HTML, CSS or a spreadsheet. You do not write "play this note, wait, play the next"; you write what the music is, and Aratu works out when each sound happens.

Some consequences:

tempo: 100
melody = | riff riff+1 riff+2 riff |
motif riff = [e4 d c d]

Here the motif is written after the line that uses it, and it works.