mirror of
https://github.com/storytold/soundcraft.git
synced 2026-11-12 00:44:57 -06:00
mix.instrument only read `plugin` and `track` and ignored every other field, so a synth setting written beside `plugin` (cutoff, amp_sustain, level…) came back as success and the render never changed. It now takes the built-in instrument's parameters in `params`, validated before anything is changed (unknown ids and non-numbers are errors, values are clamped into range), and refuses any other field with a message that points to `params` and mix.instrument_param.