Overhauling `split-freq.py` script.