Added logging for pitch data for control. Use MatLab csvread function