For very low frequency sounds (the ones where waveform drawing goes into "line mode"), either of min or max can go outside of -1..+1 range. The code was assuming that only max could be above +1, and only min could be below -1. Fix that, and also make "line mode" also apply red "clipped" color when clipping happens. Pull Request: https://projects.blender.org/blender/blender/pulls/123246