random @range

Wil's icon

if range is 0-1, shouldn't that include 1?

Max Patch
Copy patch and select New From Clipboard in Max.

Source Audio's icon

you need one more at max limit

Wil's icon

arguments vs attributes

although I guess the concept is kind of bothersome.

have to add 1

Source Audio's icon

I also find that weird.

Roman Thilenius's icon

when i need this kind of stuff i rather use expr.

the "float mode" in random is - to my knowledge - nothing but (another) scaling after all, so it could make sense to not use a range to the theoretical max.

you can find such patterns of pseudo-normalized float ranges from 0 - 0.992 or 0.996 also in jitter and photohop, where it they help to switch between 32 bit and 8 bit colors resolution.