Pitch detection and protocol change

 - started work on mid beat iterations
 - added test.c