Is there a way to change the length of the "play random sound" ?

Is there a way to change the length of the “play random sound” ?