added algorithm for infrared signal processing using data from audio jack