mirror of
https://github.com/storytold/soundcraft.git
synced 2026-10-26 03:26:49 -06:00
JSON has no NaN or infinity, so serde writes them as null, and loading null into a plugin parameter failed the whole session with "not a SoundCraft session: invalid type: null, expected f32". One plugin reporting a non-finite value, or a value like 1e39 that overflows f32 in an edited file (it loads as infinity), made the session and every later save and autosave of it unopenable. Insert and instrument parameters that are null or overflow f32 are now dropped on load, so they keep the plugin's default and the rest of the session opens.