fixed freqToColor.py