all done. needs fixing on the detection of pitch to be accurate with
time