Repository navigation
Learn Strudel
Tompouce's 22-lesson Strudeltutor is a practical first stop: F2 /tutor, then F5 to apply edits and Ctrl+N/Ctrl+B to navigate. It uses built-in synths, so the core lessons work offline. See Live coding and Strudeltutor for progress and save behavior.
Work through these official Strudel pages in order. They include browser examples you can edit and hear:
- Getting started — introduction to live-coded patterns.
- First sounds — rhythms, samples and mini-notation basics.
- First notes — pitch, scales and concurrent parts.
- First effects — shaping and processing sounds.
- Pattern effects — time and pattern transformations.
- Workshop recap — a compact reminder of the workshop vocabulary.
| Resource | Use it for |
|---|---|
| Mini-notation | Sequence, rests, subdivision, repetition, alternation and Euclidean syntax |
| Understanding cycles | Timing and repeating structure |
| Pattern alignment | Combining patterns with different time divisions |
| Function introduction | Pattern construction and transformation concepts |
| Tonal functions | Pitch and scale operations |
| Synths | Waveforms, synthesis and wavetables |
| Samples | Sample selection and loading |
| Audio effects | Envelopes, filtering and processing |
| Visual feedback | Browser visualizations and their options |
| Showcase | Performances and musical inspiration |
The Strudel browser editor is useful for following those pages directly. The documentation footer links to Strudel's own community channels; use Tompouce Discussions for terminal-specific questions and sharing patterns.
Tompouce aims to play the patterns from these pages. It pins Strudel 1.2.6 and uses a native audio backend. Ctrl+Enter, Alt+Enter, Ctrl+. and Alt+. work as they do in the web REPL, so a pattern learned in the browser can be evaluated with the same keys. MIDI notes, channels and controller input use ALSA, and .osc() sends timestamped SuperDirt bundles over UDP. Current upstream docs can describe newer behavior, browser-only devices, visuals or effects. Use the project native audio reference to check support; runtime warnings identify unavailable controls. GM .n() soundfont variants follow the pinned 1.2.6 pack lists. Advanced wavetable morph/warp processing differs from the browser.
Begin with a built-in synth, then change one thing at a time. Try replacing spaces with brackets, moving a melody through a scale, layering a bass, patterning a filter and adding one view. Compare predictions with what you hear. Keep each experiment in a separate song buffer and save a working version before extending it.
Useful local resources are the tutorial source, bundled project examples, and example gallery. The gallery uses JavaScript Strudel and is checked directly by the native example test.