On 14/11/12 15:53, Enrique Erne wrote:
Hi List!
Can a random number form 0 to 100 be generated with the following requirements:
- No externals / Vanilla Pd only
- DSP must be off
- The patch is loaded with Pd through command line interface i.e.
pd -noprefs -nogui givemerandom.pd
- The output should not always be the same number
Something like the attached should do it...
But as someone already pointed out is it really worth it? Why not just do something like (assuming you have BASH):
echo $[ $RANDOM % 100]
Lorenzo.