Add simple beat detection