# scribbletune/scribbletune

Create music with JavaScript

Repository: https://github.com/scribbletune/scribbletune
Canonical: https://ross.abutalabs.com/products/scribbletune
Homepage: https://scribbletune.com
Language: TypeScript
License: MIT
License Family: permissive
Topics: javascript, chords, midi, scale, music, nodejs, webaudio, webaudioapi, ableton-live, ableton, live, webmidi
Last push: 2026-08-20T07:08:53+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 40, longevity 100
- inputs: {"age_days": 4664, "days_push": 13, "days_rel": 186, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3767, forks 237 (observed 2026-08-28T04:08:18.070529+00:00)

## What it is
Scribbletune is a JavaScript/TypeScript library for generating music programmatically using simple string and array patterns for rhythms, melodies, and chord progressions. It exports MIDI files, plays live in the browser via Tone.js, and includes a CLI for generating MIDI from the terminal.

## Use cases
- generate midi files with javascript
- create chord progressions programmatically
- make music in the browser with web audio
- generate melodies from scales and patterns
- export midi clips for ableton live
- generate drum and riff patterns from the terminal

## When to choose
- you want to compose music or generate MIDI programmatically in JavaScript or Node.js
- you need a simple pattern language for rhythms, scales, and chord progressions
- you want to prototype musical ideas quickly and import them into a DAW

## When to avoid
- you need real-time audio synthesis on the server rather than MIDI file generation
- you want a full GUI music production environment rather than a code-based tool
- you need the companion VST3/AU plugins, which are closed-source

## Facets
- artifact type: library
- maturity: active
- function: audio-processing, cli, sdk
- domain: audio, media, developer-tools, web-development
- platform: browser, cli, cross-platform
- tags: midi, music-theory, tone-js, web-audio, chord-progressions, music-generation, ableton-live, daw, nodejs

## Member repositories
- scribbletune/scribbletune (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:18.070529+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-29T18:28:35.591703+00:00, confidence not recorded.
  - readme: https://github.com/scribbletune/scribbletune (fetched 2026-08-28T04:08:18.070529+00:00, sha 896fc0177b05)
  - homepage: https://scribbletune.com (fetched 2026-08-29T09:23:02.641107+00:00, sha f99b9f7ecd1e)
  - site_page: https://scribbletune.com/documentation (fetched 2026-08-29T09:23:02.650640+00:00, sha 8850e1799afd)
  - site_page: https://scribbletune.com/about (fetched 2026-08-29T09:23:02.652738+00:00, sha 39fd7813c15b)
  - registry_npm: https://registry.npmjs.org/scribbletune (fetched 2026-08-29T09:23:02.654683+00:00, sha 981c771c19c1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
