# kylestetz/slang

🎤 a simple audio programming language implemented in JS

Repository: https://github.com/kylestetz/slang
Canonical: https://ross.abutalabs.com/products/kylestetz-slang
Homepage: http://slang.kylestetz.com
Language: JavaScript
License: ISC
License Family: permissive
Topics: livecoding, programming-language, audio, javascript
Last push: 2020-03-15T18:08:55+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2894, "days_push": 2362, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1203, forks 31 (observed 2026-08-28T04:03:58.572165+00:00)

## What it is
Slang is a small audio programming language implemented entirely in JavaScript, running in the browser on top of the Web Audio API. It uses Ohm.js for parsing and CodeMirror for its in-browser editor, letting users define synthesizers and drum machines with sound lines and sequence them with play lines.

## Use cases
- livecode music in the browser
- learn how to build a programming language from scratch
- create synthesizers and drum machines with a simple DSL
- experiment with the Web Audio API through a text language
- teach audio programming concepts interactively

## When to choose
- you want a lightweight, browser-based livecoding environment for making music
- you want a readable example of implementing a language with Ohm.js and Web Audio
- you want to teach or learn language design and audio synthesis together

## When to avoid
- you need a production-grade audio language with robust error handling and tooling
- you need offline or native audio synthesis
- you need an actively developed or comprehensive language - the project is a personal exploration with sparse maintenance

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: programming-language, interpreter, parser, audio-processing
- domain: programming-languages, web-development, education
- platform: browser
- tags: livecoding, web-audio-api, dsl, synthesizer, music, ohm-js, browser-based, programming-language, audio, javascript, web

## Member repositories
- kylestetz/slang (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:58.572165+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:33:21.933955+00:00, confidence not recorded.
  - readme: https://github.com/kylestetz/slang (fetched 2026-08-28T04:03:58.572165+00:00, sha 11ad94d2019f)
  - homepage: http://slang.kylestetz.com (fetched 2026-08-29T12:27:40.633288+00:00, sha 2692402fd315)
- Data as of 2026-08-30T08:39:29.467469+00:00.
