add duration utility function
Found a bit of time to lay down a beat.