mirror of
https://github.com/storytold/soundcraft.git
synced 2026-10-26 03:26:49 -06:00
A session file with a sample rate of 0 or a tempo of 4e9 BPM opened fine, but Strip Silence on the first and Extract Chords on the second never finished (one also climbed past 1 GiB). Session::sanitize, which repairs everything else read from a file, skipped both fields. On load, a sample rate outside what sessions accept becomes 48 kHz, and the tempo map keeps only the tempos and meters that set_tempo and set_meter accept, in tick order, with one of each at tick 0.