<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Hello list,<br><br></div>I want to do a simple task : pick a random float in a defined range (let's say between 0.0 and 1.0).<br></div>I know there are this kind of objects in external libraries (something like [randomF] if remember), but since the collapse of Pd-Extended, I generally prefer to make vanilla abstractions.<br><br></div>The two solutions i foresee are : <br></div><br></div><div>solution #1 :<br></div><div><br>[random 1e+06]<br> |<br></div>[/ 1e+06]<br><br></div>but this way, it doesn't use the full floating-point resolution ?... and going over that range (like 1e_07) will result in errors (outputs 0) I guess because of floating-point complexity.<br><br><br></div># solution #2 :<br><br></div>[noise~]<br>  |<br></div>[snapshot~]<br><br></div>but this won't work if DSP/audio is turned off.<br><br><br><br></div>so I wondered if there are other vanilla and efficient solutions?<br></div>...or if I just have to get the external from deken... ?<br>:)<br><br></div>thanks,<br><br></div>Raphaël<br></div>