Skip to content
devlatoPublic

About

Your AI beat maker and music editor that listens

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

498 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ludwie

ludwie makes music the way a producer does in a DAW. It picks sounds, writes drums, bass, chords and melodies with music theory, arranges them into a song with builds and drops, mixes and masters it, listens to the result, and changes what it does not like.

Every sound is real audio: synthesized in code, or recorded (a grand piano, a Rhodes, string sections, real TR-808 and TR-909 drum machines, Apple Loops, your own files). There is no neural audio generation and no General MIDI. After every change, a critic judges the song (loudness, tonal balance, the energy of the arrangement, music theory, and what an audio model hears) and says what to fix.

You can work with it in a studio app, in a small script language, through an assistant such as Claude or ChatGPT, or from the command line.

The studio: a deep house song's arrangement, its step sequencer, and the critic's verdict

Website · Documentation · Releases

Install

Download ludwie from the website or the releases page:

  • Mac: the disk image for Apple silicon or Intel. Open it and drag ludwie into Applications (the first time you open it).
  • Windows: the .msi, which puts ludwie in the Start menu.
  • Linux: the .deb, the .rpm or the AppImage.

The studio downloads its listening models by itself the first time it opens, and offers the sample packs. From a terminal instead:

curl -fsSL https://github.com/devlato/claudius/releases/latest/download/install.sh | sh    # macOS (the app too), Linux
irm https://github.com/devlato/claudius/releases/latest/download/install.ps1 | iex          # Windows (PowerShell)
ludwie setup    # sample packs and listening models, about 4 GB to download

You can also build it from source; see install.

A first look

ludwie make --genre lofi          # a finished song in ./out/lofi-<title>-<seed>/song.wav
ludwie studio                     # the studio, with the engine inside
ludwie connect claude-desktop     # MCP and skills; then ask Claude for a song while you listen

Your assistant's own command works too: claude mcp add --scope user ludwie -- ludwie mcp, codex mcp add ludwie -- ludwie mcp, or Cursor's install link (the assistant's own command). Claude Code's plugin brings the skills along (claude plugin marketplace add devlato/claudius, then claude plugin install ludwie@ludwie), and on a Mac the release's ludwie-<version>.mcpb adds ludwie to Claude Desktop.

A song in the script language:

blank("lofi"); tempo(84); key("D minor"); swing(0.58);
prog("A", "Dm9 Gm9 Bbmaj7 A7");
track("drums", s("bd ~ ~ bd, ~ sd, hh*8?0.15").bank("tr808"));
track("keys",  chord("prog").voicing(50, 72).s("rhodes").room(0.3));
track("bass",  chord("prog").root().struct("x ~ ~ x ~ x ~ ~").s("upright_bass"));
form([sec("intro", 4, "keys"), sec("groove", 16, "*"), sec("break", 8, "keys"), sec("groove", 16, "*")]);

ludwie script song.rhai renders it and prints the verdict. Any song ludwie makes prints back as a script like this, so a script is also the way to read a song.

Documentation

The book's pages are in docs/src; cargo xtask site builds them into a website with mdBook.

Privacy

ludwie sends nothing about you or your music anywhere. Anonymous usage statistics (the command, the version, the system, where a setup or a crash failed) stay off unless you say yes when the studio asks, or run ludwie telemetry on; privacy lists every field.

Contributing

See CONTRIBUTING.md. Security reports go through GitHub's private reporting, described in SECURITY.md.

Licence

ludwie is MIT-licensed (LICENSE). The sample packs and listening models it downloads have their own licences, all of which allow making and publishing music; NOTICE lists them.

About

Your AI beat maker and music editor that listens

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages