Commit 5e551b20 authored by ericlyon's avatar ericlyon

update for exclusive use of srand()/rand()

parent 8e73a013
This diff is collapsed.
This diff is collapsed.
......@@ -443,7 +443,7 @@ void *stutter_new(t_symbol *msg, short argc, t_atom *argv)
float boundrand(float min, float max)
{
return min + (max-min) * ((float)rand()/2147483647.0);
return min + (max-min) * ((float)rand()/RAND_MAX);
}
void stutter_taper(t_stutter *x, t_floatarg f)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment