A language for live programming music in Clojure

Music as Data (MAD) is a live programming language / environment based on Processing.org written in Clojure. It's something like SuperCollider or Chuck but aims to be easier to hack / experiment live. You can read more about it (along with other geeky stuff) here.

MAD lets you treat music as data and apply data transformation on the fly so you can experiment with notes and samples. You can get it from github.

The main concept is that a series of notes (or samples) are a data structure (because music is data is code).

That means that you can place notes inside a structure (array) the same way you place them on a stave.



For example:

( [A4 B4 D#5]) ;;This plays three notes, every note at the same time.



In this example,

the whole bar is two times, A4 is at one time (1/2) while B4 and D#5 share the other one time (each note has 1/4 of the total time).

Got it? Try experimenting and you'll get it :D



It's best to hear the example (will add more) and read HOW TO USE on github.