mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
`toFloatOrNull` accepts `"Infinity"`, `"NaN"` and overflowing literals like `"1e40"`, so a server (or a corrupt tag it read) could put a non-finite gain or peak into the library. An infinite peak later caps the applied gain at negative infinity, i.e. silence; an infinite gain clips every sample to full scale. Nothing consumes these columns yet, so this is only about not storing values that cannot mean anything.