Change default value of beatPerSecond to 2
Modify beatsAvarage function in Tab.js