Repository navigation
Home
Tompouce is a terminal live-coding environment for music. Its aim is parity with the Strudel web REPL: it embeds Strudel 1.2.6 in QuickJS, schedules patterns locally, and renders audio in C. The Notcurses editor, native audio engine, optional Chromium companion and MCP interface work with the same session.
The performance keys match the web editor. Ctrl+Enter or Alt+Enter evaluates and starts playback. Ctrl+. or Alt+. stops. F5 and Ctrl+P do those same jobs. Alt+W and Alt+Q move between $ labels.
Patterns can also leave the machine. ALSA carries MIDI notes, channels and controller input. .osc() sends timestamped SuperDirt bundles over UDP, by default to 127.0.0.1:57120. See Companion and integrations.
Room and sample convolution picks an AVX2, AVX, SSE2 or portable C spectrum kernel before audio starts. The choice follows the CPU, keeps the same PCM, and is shown in F4. See Development.
Start with Getting started, then try the bundled 22-lesson Strudeltutor. A simple synth pattern works without sample banks or a browser:
setcpm(108 / 4)
note("c4 e4 g4 c5").s('triangle').gain(0.4)Press F5 to evaluate and Ctrl+P to play or stop.
| Guide | What you will find |
|---|---|
| Getting started | Installation, first sound and updates |
| Live coding and Strudeltutor | Editing, lessons, songs, saves and pattern fundamentals |
| Prebake setup files | Reusable helpers, automatic setup and the Switch Angel starter |
| Sounds and samples | F6, drum machines, GM synths, wavetables and imports |
| Visuals and themes | Inline views, Kitty graphics and live recoloring |
| Companion and integrations | Browser controls, MCP, MIDI and OSC |
| Collaborative jamming | Jam mode: playing together, the Bakery server, and the current build status |
| Development | CMake/Ninja, tests, SIMD convolution dispatch and contributions |
| Troubleshooting | Silence, failed evaluation, missing sounds and tutorial updates |
| Learn Strudel | Official workshops, reference pages and practice ideas |
- Website
- Source and README
- Discussions: questions, musical experiments, ideas and showcases.
- Issues: reproducible bugs and actionable reports.
- JavaScript and native audio reference
- License and third-party notices
Original project code is AGPL-3.0-or-later. Dependencies and sound banks retain their own licenses and attribution. Repository and documentation access follow the project's GitHub visibility settings.
Tompouce uses native audio rather than the browser's WebAudio engine. Upstream Strudel examples are useful for learning patterns, but browser-only integrations, every audio parameter and exact browser waveforms are not all reproduced. Consult the native audio reference when adapting a pattern.