add beat-detection task for Grunt