Code for the KHK light system which uses beat detection.