Kyma Forum
  Kyma Support
  nextChaotic help

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   nextChaotic help
Andrew
Member
posted 03 September 2010 11:26         Edit/Delete Message   Reply w/Quote
I'm a little confused- I'm also new to all of this so please go slow in an explanation!:

nextChaotic: seed: reset:

On p157 of the book we are given this expression:
(1 bpm: !BPM) nextChaotic: !Kaos seed: 0.2 reset: !Inject

No problem here I think - On each beat at the tempo given by the BPM fader generate a number between -1 and +1 using the Kaos fader as the value for 'a' in the Chaotic formula. The seed for the expression is 0.2. Use the Inject button to inject a random number for 'x'.

I think my interpretation is OK.

So here is my problem and I think it's a confusion over what seed means in this context- on p.373 the example for 'nextChaotic: seed:' is given as:

nextChaotic: !k

with I imagine a fader 'k' supplying the value for 'a' -but where is the seed? Surely it should be of the form nextChaotic: !k seed: 0.2 (or whatever value)

On a side note- (and this may be relevant to my confusion) why is the seed value for the examples for the Random and RandomExp on p372/373 given as 3413 which lies way outside of (-1,1).
Surely a seed is a number used to initialize a random number generator so in what way does 3413 do this in the expression (1 bpm: 60) nextRandomWithSeed 3413 ?

Any help is much appreciated.


IP: Logged

Andrew
Member
posted 18 September 2010 03:47         Edit/Delete Message   Reply w/Quote
Anyone?

IP: Logged

SSC
Administrator
posted 18 September 2010 11:20         Edit/Delete Message   Reply w/Quote
Hi Andrew,

If you use nextChaotic: without the seed, it will use a seed of 0.5. If you use the version that has reset:, then you can force it to reset itself to the seed value. In nextChaotic: the seed is literally the first output value (and the output value on reset).

The seed value for nextRandom, nextRandExp, and nextNormal should be an unsigned 32-bit integer. In these functions, the seed is not the initial output value, but a number used to seed the internal random number generator.

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c