Still working on getting the hum off of the comparator output.