module to get BPM and beat frames