Ability to Sample Music

It would be great if there was a way to set a maximum duration to play each song, that way those of us with very large collections could automix several songs without any user intervention.