cleaned up segment/beat, unified resampler
beat tracker works
cleanups in beat tracker