home/ atoms/ strudel-sample-name-validation

Strudel sample names must match folders in the loaded bank — s("kick"), s("clap"), s("snare") are silent because the real folder names are bd, cp, sd

Strudel only plays sounds whose names exist in the loaded dirt-sample bank. Common intuitive names (kick, clap, snare) are not loaded — the actual folder names are bd, cp, sd. An invalid name produces silence with no error. Each folder also has a fixed variant count (bd:0..bd:23); an index beyond the range silently falls back or goes silent. All valid names, function names, and parameter names are listed in the names/ directory (samples.txt, functions.txt, params.txt). Validating names before using them in a set is the single most important step when porting patterns from other frameworks or working from intuition.

Examples

s("bd") — correct. s("kick") — silent. s("bd:24") — silent (out of range; max is bd:23).

Assessment

Explain why s("snare") plays nothing in Strudel and give the correct name. Then describe how to find the valid variant range for any sample folder.

“**A name must exist in the loaded bank.**”
context/ · L1-instruments/strudel/gotchas.md · chunk 1