Slang

Write synths and rhythms in a small live-coding language that runs in your browser, with docs and examples.

musicprogrammingaudioMusic Productionopen source
Platforms
Web
Pricing Free

Slang is a small audio programming language that runs entirely in the browser. You type a few lines in the editor, press Run and hear the result, and you can change the code while it plays. A sound line defines an instrument, such as a triangle-wave synth shaped by an ADSR envelope, and a play line tells it which rhythm and notes to play, for example a C major scale.

The syntax uses parentheses, and sounds can be chained with tools such as filters, pan and gain. The page opens with a working example and a Docs button, and the GitHub README has a reference and more examples. The author describes it as an experiment in building a language and its runtime, using Ohm.js for parsing, CodeMirror for the editor and the Web Audio API for sound.

It is free, open source and needs no account. It was made by Kyle Stetz. The interface is in English.