Przejdź do treści
Biblioteka skilli
Inne · Nauka i wyjaśnianie

strudel

/strudel

Pomaga pisać, debugować i wyjaśniać wzorce muzyki live-coding w Strudel: mini-notacja, funkcje wzorców, wybór syntezatorów i sampli, efekty audio, API skal i akordów oraz receptury EDM.

Repozytorium
skills ↗
Licencja
CC0-1.0
Ostatnia zmiana repozytorium
20.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
8
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 20.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

CC0-1.0, otwarta.

Co robi i kiedy

Pomaga pisać, debugować i wyjaśniać wzorce muzyki live-coding w Strudel: mini-notacja, funkcje wzorców, wybór syntezatorów i sampli, efekty audio, API skal i akordów oraz receptury EDM.

Wyzwalacze z opisu

write a Strudel patternhow do I make a bassline in Strudelwhat does .every() dostrudel drum beatstrudel chord voicing
Oryginalny opis (EN)

Use when writing, debugging, or explaining Strudel live-coding music patterns — mini-notation syntax, pattern functions (fast/slow/every/off/stack), synth/sample selection, audio effects, scale/chord/voicing API, or EDM production recipes. Triggers: "write a Strudel pattern", "how do I make a bassline in Strudel", "what does .every() do", "strudel drum beat", "strudel chord voicing", any Strudel code question.

Jak działa

  1. Core Concepts
  2. Quick Start
  3. BPM Quick Reference
  4. Keyboard Shortcuts (REPL)
  5. Reference Files
  6. Workflow
  7. Common Gotchas
Sekcje z nagłówków SKILL.md, w oryginale · 96 linii, 561 słów
Podgląd SKILL.md
---
name: strudel
description: |-
  Use when writing, debugging, or explaining Strudel live-coding music patterns — mini-notation syntax, pattern functions (fast/slow/every/off/stack), synth/sample selection, audio effects, scale/chord/voicing API, or EDM production recipes. Triggers: "write a Strudel pattern", "how do I make a bassline in Strudel", "what does .every() do", "strudel drum beat", "strudel chord voicing", any Strudel code question.
---

# Strudel

Reference skill for programming music with [Strudel](https://strudel.cc) — a JavaScript live-coding environment based on TidalCycles patterns, running in-browser.

## Core Concepts

**Cycle** — the fundamental time unit (~2 seconds at the default 30 cpm).
All events fit within cycles; adding events makes each shorter, not the total longer.
One cycle = one bar of 4/4 at the default tempo.

**Pattern** — a pure function from time to events.
Everything is a pattern.
Transforming a pattern wraps it; the original is unchanged.

**Mini-notation** — a DSL written inside `"double quotes"` (single-line) or `` `backticks` `` (multi-line).
Single quotes `'...'` are plain JS strings and are NOT parsed as patterns.

**Chaining** — methods chain left-to-right: `note("c e g").s("piano").lpf(800).room(0.4)`.

**`$:` tracks** — the REPL syntax for parallel patterns.
Each `$:` line is an independent stream.
`_$:` mutes a track.
Outside the REPL, use `stack(...)`.

## Quick Start

```js
// First sound
s("bd sd hh cp")

// First note
note("c3 e3 g3 a3").s("piano")

// Stack drum + melody
stack(
  s("bd*4, ~ cp ~ cp, hh*8"),
  note("<c3 eb3 g3 bb3>/4").s("piano").room(0.4)
)

// Set BPM (default = 120 BPM in 4/4)
setcpm(120 / 4)   // cycles per minute = BPM ÷ beats-per-cycle
```

## BPM Quick Reference

```js
setcpm(120 / 4)   // 120 BPM, 4/4
setcpm(128 / 4)   // house
setcpm(135 / 4)   // techno
setcpm(174 / 4)   // drum and bass
setCps(140/60/4)  // cycles-per-second form
```

## Keyboard Shortcuts (REPL)

| Key          | Action                    |
| ------------ | ------------------------- |
| `Ctrl+Enter` | Evaluate / update pattern |
| `Ctrl+.`     | Stop all patterns         |

## Reference Files

Pull these when you need detail:

| File                                                                 | Contents                                                                                    |
| -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| [`references/mini-notation.md`](references/mini-notation.md)         | Complete DSL syntax — all operators, euclidean, alternation, polyrhythm                     |
| [`references/pattern-functions.md`](references/pattern-functions.md) | All pattern combinators — time, conditional, random, accumulation, signals, stepwise        |
| [`references/sound-sources.md`](references/sound-sources.md)         | Synths, drum banks, GM samples, FM synthesis, samples loading, MIDI/OSC                     |
| [`references/audio-effects.md`](references/audio-effects.md)         | Full effects chain — filters, ADSR, envelopes, delay, reverb, phaser, distortion, sidechain |
| [`references/tonal.md`](references/tonal.md)                         | Scale/chord/voicing API, transposition, xenharmonic                                         |
| [`references/recipes.md`](references/recipes.md)                     | Production idioms — beats, bass, arpeggios, chord progressions, house/techno/D&B/trap       |
| [`references/visual-feedback.md`](references/visual-feedback.md)     | Visualizers (pianoroll, scope, spectrum, spiral) — what each shows and when to suggest them |

## Workflow

1. **Start with sound** — identify what you're building (drum beat, melody, chord progression, full track).
2. **Reach for the right reference** — use the table above.
   Most questions hit mini-notation or pattern-functions.
3. **Layer with `stack()`** — combine independent streams.
4. **Automate with signals** — use `sine`, `rand`, `perlin` for LFOs and continuous modulation.
5. **Add structure** — use `every`, `sometimes`, `chunk`, `arrange` for variation over time.
6. **Add visualizers, especially in educational contexts** — default to `pianoroll()`, `scope()`, or `spectrum()` when explaining or teaching.
   See `references/visual-feedback.md` for when each applies.

## Common Gotchas

- Mini-notation only parses inside `"..."` or `` `...` `` — not `'...'`.
- Adding more events to a pattern makes each event _shorter_, not the cycle longer.
- `<a b c>` alternates one element per cycle (3 cycles to complete) — the whole pattern isn't faster.
- `delay` feedback ≥ 1 creates an infinite loop; keep it < 1.
- Reverb `roomsize` is expensive to change while running; set it once.
- `.orbit(n)` — each orbit has its own shared delay/reverb bus.
  Default orbit = 1.
Pliki w paczce (8)
  • SKILL.md 5 KB
  • references/audio-effects.md 13 KB
  • references/mini-notation.md 7 KB
  • references/pattern-functions.md 16 KB
  • references/recipes.md 9 KB
  • references/sound-sources.md 12 KB
  • references/tonal.md 9 KB
  • references/visual-feedback.md 7 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · ahgraber/skills100CC0-1.0
autonomous-ai/openharness100MIT
bfollington/terma100CC-BY-SA-4.0

Migawka bazy z 13.11.2026 · wersja paczki af8c64f9ec37 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100midi-synth
    Renderuje pliki MIDI i MusicXML do audio WAV lub MP3 oraz generuje wzorce Strudel do kreatywnej pracy z muzyką w przeglądarce na strudel.cc.
  • 100listening-to-music
    Ocenia wygenerowaną muzykę przez pomiary i zapis nutowy: renderuje kod Strudel lub stronę Web Audio, czyta spektrogramy i wysokości dźwięku, przepisuje melodie oraz konwertuje MusicXML, MIDI i ABC.
  • 100prod-by-claude
    Tworzy wideo HyperFrames z utworu napisanego w Strudel, w którym sam kod jest obrazem i każdy token zapala się na zagrywanej nucie: kompozycja, nagranie offline i film 1080x1080.
  • 100chord-pro
    Generuje i modyfikuje progresje akordów: nastrojowe progresje w zadanej tonacji, rozkład akordów na fortepian, propozycje do muzyki filmowej i rozszerzanie o dźwięki kolorystyczne.
  • 90Ableton Bassline
    Pisze linię basu zgodną z harmonią akordów w wybranym stylu i zapisuje ją jako ścieżkę MIDI w Ableton Live.
  • 100mc-style-edm
    Opisuje warstwę stylu EDM i muzyki klubowej: forma oparta na dodawaniu i odejmowaniu warstw, długie narastanie, sekcja samej perkusji dla DJ-a, kwantyzacja i projektowanie dźwięku.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.