OptionalctxThe generation context. Its seed and algorithmVersion take precedence
over the plan's; whatever it leaves out is read from the plan. A supplied
rng is rejected: every onset and tie-break is drawn at an address of
phrase and beat under a seed, which a caller-held source cannot provide.
OptionalbudgetUpper bound on the onset grid and on the pitch search.
Options controlling generateMelody.