Audio Pulses to Midi Clock using Arduino