Use  [randomF] from the markex library.

-Jonathan




>________________________________
> From: Scott R. Looney <[email protected]>
>To: Renato <[email protected]> 
>Cc: [email protected] 
>Sent: Friday, January 20, 2012 2:17 PM
>Subject: Re: [PD] random float
> 
>
>i'm new to PD as well but have worked in Max -  if by float you mean a decimal 
>between 0.0 and 1.0 just use the [*] (multiply object
>) after [random] and multiply by a decimal number (like .01). set the random 
>to pick between 0 and 100 and you should be all set for 100 data points. as 
>long as you have a clue of the number of data points between A and B you can 
>set the range with the multiplier. you can also use the [drunk] object in 
>PD-extended (cyclone) for a custom range but the decimal multiplier is still 
>needed to convert that to float.
>
>
>any other faster methods, PD'ers? i'm nowhere near the worlds greatest 
>programmer, but that's what first comes to mind.
>
>
>
>scott
>
>
>On Fri, Jan 20, 2012 at 10:56 AM, Renato <[email protected]> wrote:
>
>Hello, I'm very very new to pd, and couldn't find an answer to this
>>supposedly simple matter. I see that the "random" object generates
>>random integers between 0 and its argument.
>>
>>How do I generate a random float between floats a and b?
>>
>>cheers,
>>renato
>>
>>_______________________________________________
>>[email protected] mailing list
>>UNSUBSCRIBE and account-management -> 
>>http://lists.puredata.info/listinfo/pd-list
>>
>
>_______________________________________________
>[email protected] mailing list
>UNSUBSCRIBE and account-management -> 
>http://lists.puredata.info/listinfo/pd-list
>
>
>
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to