PURE DATA forum~

...that deal with pure data

You are not logged in.

#1 2010-03-03 05:17:04

montremonson
Member

Probability distributions in PD

Hi,
Is there anything similar in PD ?...
(text below taken from MAX tutorials)

"Probability Distribution
The bang message in the left inlet of a table has a special function. Instead of sending out a stored value, the table sends out an address. The probability of a particular address being sent out is in direct proportion to its stored value, as compared to the other values in the table. If the value stored in an address is greater than in other addresses, that address is more likely to be sent out when a bang is received.
This feature of the table makes it perfect for storing a probability distribution. Each
address can be assigned a different likelihood of being sent out when a bang is received."

Thanks!

Offline

 

#2 2010-03-03 06:34:33

Maelstorm
Administrator

Re: Probability distributions in PD

Dump a table's contents into the right inlet [list-wrandom] (from list-abs) using [tabdump] and bang it.


.mmb

Offline

 

#3 2010-03-03 17:51:37

montremonson
Member

Re: Probability distributions in PD

just what I needed,
thanx!

mms

Offline

 

#4 2010-03-17 20:24:15

Zygomorph
Member

Re: Probability distributions in PD

OMG I was trying to make an abstraction to do just this about a year ago, I was doing all sorts of research into statistical algorithms and so forth...

Thank you!

Offline

 

#5 2010-07-17 16:40:36

djake
Member

Re: Probability distributions in PD

ideal! google wins again :D

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson


pd.webring info