Random cps between range

hi--how do i trigger random cps values in a range, i.e. this: ''# cps (range 0.8 1.2 $ sine)''' but random

Don't know about cps specifically, but range for rand works:

segment 4 (range 2 3 rand) :: Pattern Double
(0>¼)|2.3147844299674034
(¼>½)|2.6004995740950108
(½>¾)|2.139420047402382
(¾>1)|2.3935417253524065

Yes, just swap sine for rand.