pub const MAX_MOD_DEPTH: usize = 4;Expand description
Maximum nesting depth of a hand-built modulation term.
Above the prior’s max_mod_depth of 2, on the same argument as
MAX_DEPTH against the prior’s max_depth: a person stacking shapers by
hand knows what they are building, and the ceiling is there to protect the
realtime voice rather than to shape the search. It stops well short of the
audio ceiling because a Pair branches, so depth 4 is up to sixteen leaves
on one cable — and each of them is another level of the compiler’s
by-value recursion on top of the audio tree’s.