Unbalanced mini-notation brackets in Strudel throw a parse error that shows in #err while keeping the old pattern playing
Strudel’s mini-notation uses four bracket types with distinct meanings: [] for subgroups, <> for alternation between cycles, () for Euclidean patterns like (3,8), and {} for polymeter. Any unbalanced or mismatched bracket inside the pattern string triggers a parse error that surfaces as a strudel: <message> in the #err element. The running pattern is not affected. Recovery: balance all bracket pairs. If unsure which bracket is wrong, strip back to a flat pattern like 'bd sd hh' and reintroduce groups.
Examples
s('bd [sd hh') — parse error (unclosed [). Fix: s('bd [sd hh]'). s('bd <sd hh>') — alternates each cycle, balanced.
Assessment
Name the four Strudel mini-notation bracket types and their meanings. What happens when one is unbalanced, and what is the fastest recovery strategy?