Mechanical Switch DetectorThis script reads volume as a voltage and picks up the mechanical signal of a switch. Instead of looking at the light globe to see when it turns on, this picks up the surge/pattern created when flicking on the switch. This picks up chart movements/cycles directly from the switches used in the ticker machine.. Faster than light.
Adjust "len" in the settings to select the sensitivity of the current used to calculate the threshold. 20 is default but try lengths of 200 or even 6 for smaller surges of current. This script assumes the ticker data is an analogue signal and picks up mechanical responses that are embedded within this signal. Nothing is random.