Some latency optimization and started implementing rhythm analyses