Music With Code
The right pieces of code can create living works of sound and rhythm that could never have existed otherwise.
Extempore
Extempore is a programming language and runtime environment designed to support cyberphysical programming, where a human programmer operates as an active agent in the world.
This video provides a great introduction to the concept of Live Coding and the wonder of an Extempore performance.
This session, part of a hackathon presented by Hyland Tech Outreach, introduced Extempore and demonstrated some of its capabilities. It uses this GitHub repository.
Examples
Here are some live coding examples:
TunePad
TunePad is a free online platform for creating music with the Python programming language.
This video is a helpful overview of the history and philosophy of TunePad.
This paper dives a bit deeper into TunePad's playbooks and their support of creative workflows.
The Learn TunePad site also has a bunch of great resources:
ChucK
ChucK is a programming language for real-time sound synthesis and music creation. ChucK offers a unique time-based, concurrent programming model that is precise and expressive (we call this strongly-timed), dynamic control rates, and the ability to add and modify code on-the-fly.
WebChucK is the online IDE for ChucK.
This ChucK code contains a ChucK rendition of the Super Mario Bros. "Ground Theme" by Koji Kondo. Copy and paste it into the IDE to hear the music!
EarSketch
EarSketch is a cool way to remix music with code.
This page contains a variety of EarSketch examples.