how to convert loop_start and loop_end to a beat size? the key is that I don't want sync enabled if the loop is less than 1 beat long.  I guess I could look up samplesperbeat from the master