[PD] random, but always start with X

padawan12 at obiwannabe.co.uk padawan12 at obiwannabe.co.uk
Sun Jun 13 21:12:51 CEST 2010


Random events (as we understand them here) are completely
unrelated to one another.
So the answer is to pre-load your system with 1,
and have all the other values be random.
[random 5]
[t b f]
[f 1]
will always start with 1, and then give you random numbers.
It might also give you, 1, 1, 1, 1....
I suspect what you really want is to replace the random
with an urn.


On 13 June 2010 at 20:53 Ben Carney <bfcarney at gmail.com> wrote:

> Im trying to set up a simple system where, each time a metro is triggered
>    on, 5 sound files are played, but they always start with sound file 1.
>    It has been a while since i have used pd regularly and it seems I once
> knew
>    the answer to this.
>    can any one shed any light?
>    best,
> --
> benfcarney
> www.benfcarney.com
> Chicago, IL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100613/679128a3/attachment.htm>

More information about the Pd-list mailing list