Comparator (DIY)
https://github.com/svgeesus/ondesModulaire/tree/gh-pages/dual%20comparator
Circuit discussion on Muffs
http://www.muffwiggler.com/forum/viewtopic.php?p=1314433