Extract root mean square energy or peak amplitude at specific beat timestamps from audio files using Librosa in Python.