Audio Beat Detection with Application to Robot Drumming