Pattern Composer

Write code in the editor below and click run when you want to run the code. A midi file will appear if the code was valid, otherwise an error message is shown. To successfully run the program a valid song structure object needs to be assigned to the reserved variable PARTS. To get an overview of syntax and features, look at the docs here.

NOTE: refreshing the browser will reset the code. Sound generation and visualization is done with html-midi-player