Music sequencers that allow for tempo changes must know how to convert between musical beats and seconds (or samples). This can be done using a tempo map. This is an object that stores tempo changes at particular beats and provides conversion from beats to seconds, and vice versa. Conversion is acheived from beats to seconds by summing the number of beats within each region dividied by that region's tempo (multipled by some constant).