XML Feeds

.

[maxmsp] Re: Random between +/- 128.0??

Chris Muir cbm at well.com
Tue Aug 14 23:44:09 MDT 2007


At 6:23 PM -0600 8/14/07, UCDMSRA wrote:
>Your demo patch is very nice. I never thought that I can use table to build probabilities. I am sorry if this question is really silly, I think I understand what you said and what your patch doing. I also know how to use table.......but I don't understand how to set probabilities of table. In you example, there are several 64 and 127, what does that means? I mean, is it the probabilities 64 and 127 will come out if the result?

When you bang a table, it treats the data in it roughly as probabilities for that address. For example if the table had data only at address 1, when you bang it, it would only output 1. The, probably simplistic, way I think of this is that the value at an address is the probability that that address will be output (as data). It sort of turns the table on its head, the address is the output data, and the data at an address is the probability of that address being output.

The significance of the 64 and 127 is that they are at a 2:1 ratio (although I should have used 64 instead of 64). It might as well have been 1 and 2 instead of 64 and 127.

The manual has more to say on this.


>I tried to figure out but I can not connect the way of building probability table. For example, if I hope the number 1,3,5,7,13 have 25% chance, what's the table should look like? How to build it?

A 25% chance compared to what?


>At the end, which object I can use for reading the random result from result table so that I can send the result numbers to other patches?

I'm not sure what you mean by this. Could you clarify?

-C

-- 
Chris Muir           | "There are many futures and only one status quo.
cbm at well.com         |  This is why conservatives mostly agree,
http://www.xfade.com |  and radicals always argue." - Brian Eno


More information about the maxmsp mailing list